當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ConfigEntityListBuilder::buildHeader方法代碼示例

本文整理匯總了PHP中Drupal\Core\Config\Entity\ConfigEntityListBuilder::buildHeader方法的典型用法代碼示例。如果您正苦於以下問題:PHP ConfigEntityListBuilder::buildHeader方法的具體用法?PHP ConfigEntityListBuilder::buildHeader怎麽用?PHP ConfigEntityListBuilder::buildHeader使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Drupal\Core\Config\Entity\ConfigEntityListBuilder的用法示例。


在下文中一共展示了ConfigEntityListBuilder::buildHeader方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader()
 {
     $header['id'] = t('Machine name');
     $header['label'] = t('Name');
     $header['pattern'] = t('Pattern');
     return $header + parent::buildHeader();
 }
開發者ID:davidsoloman,項目名稱:drupalconsole.com,代碼行數:10,代碼來源:DateFormatListBuilder.php

示例2: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader()
 {
     $header['label'] = $this->t('Name');
     $header['entityType'] = $this->t('Entity');
     $header['bundleType'] = $this->t('Bundle');
     return $header + parent::buildHeader();
 }
開發者ID:WChoy,項目名稱:hme,代碼行數:10,代碼來源:SirenMapperListBuilder.php

示例3: buildHeader

 /**
  * Builds the header row for the entity listing.
  *
  * @return array
  *   A render array structure of header strings.
  *
  * @see Drupal\Core\Entity\EntityListController::render()
  */
 public function buildHeader()
 {
     $header['label'] = $this->t('Robot');
     $header['machine_name'] = $this->t('Machine Name');
     $header['floopy'] = $this->t('Floopy');
     return $header + parent::buildHeader();
 }
開發者ID:seongbae,項目名稱:drumo-distribution,代碼行數:15,代碼來源:RobotListBuilder.php

示例4: buildHeader

 /**
  * {@inheritdoc}
  *
  * Building the header and content lines for the contact list.
  *
  * Calling the parent::buildHeader() adds a column for the possible actions
  * and inserts the 'edit' and 'delete' links as defined for the entity type.
  */
 public function buildHeader()
 {
     $header['id'] = $this->t('ID');
     $header['label'] = $this->t('Label');
     $header['status'] = $this->t('Status');
     return $header + parent::buildHeader();
 }
開發者ID:sedurzu,項目名稱:ildeposito8,代碼行數:15,代碼來源:WorkflowListBuilder.php

示例5: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader()
 {
     $header = array();
     $header['title'] = $this->t('Name');
     $header['description'] = array('data' => $this->t('Description'), 'class' => array(RESPONSIVE_PRIORITY_MEDIUM));
     return $header + parent::buildHeader();
 }
開發者ID:jasonruyle,項目名稱:crm_core,代碼行數:10,代碼來源:ContactTypeListBuilder.php

示例6: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader() {
   $header['label'] = $this->t('Block Visibility Group');
   $header['id'] = $this->t('Machine name');
   $header += parent::buildHeader();
   // $header['manage_blocks'] = $this->t('Manage Blocks');.
   return $header;
 }
開發者ID:eloiv,項目名稱:botafoc.cat,代碼行數:10,代碼來源:BlockVisibilityGroupListBuilder.php

示例7: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader()
 {
     $header['label'] = $this->t('Key');
     $header['provider'] = array('data' => t('Provider'), 'class' => array(RESPONSIVE_PRIORITY_MEDIUM));
     $header['service_default'] = $this->t('Default');
     return $header + parent::buildHeader();
 }
開發者ID:rlhawk,項目名稱:key,代碼行數:10,代碼來源:KeyListBuilder.php

示例8: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader() {
     $header['title'] = t('Profile');
     $header['description'] = [
         'data' => t('Description'),
         'class' => [RESPONSIVE_PRIORITY_MEDIUM],
     ];
   return $header + parent::buildHeader();
 }
開發者ID:eloiv,項目名稱:botafoc.cat,代碼行數:11,代碼來源:ProfileListBuilder.php

示例9: buildHeader

  /**
   * {@inheritdoc}
   */
  public function buildHeader() {
    $header['label'] = $this->t('Queue name');
    $header['target_type'] = $this->t('Target type');
    $header['handler'] = $this->t('Queue type');
    $header['items'] = $this->t('Items');

    return $header + parent::buildHeader();
  }
開發者ID:jkyto,項目名稱:agolf,代碼行數:11,代碼來源:EntityQueueListBuilder.php

示例10: buildHeader

 /**
  * {@inheritdoc}
  *
  * Building the header and content lines for the contact list.
  *
  * Calling the parent::buildHeader() adds a column for the possible actions
  * and inserts the 'edit' and 'delete' links as defined for the entity type.
  */
 public function buildHeader()
 {
     $header['id'] = $this->t('ID');
     $header['label'] = $this->t('Label');
     $header['description'] = $this->t('Description');
     $header['tags'] = $this->t('Tags');
     return $header + parent::buildHeader();
 }
開發者ID:Progressable,項目名稱:openway8,代碼行數:16,代碼來源:RulesReactionListBuilder.php

示例11: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader()
 {
     $header['label'] = $this->t('Name');
     $header['color'] = $this->t('Color');
     $header['petals'] = $this->t('Number of petals');
     $header['season'] = $this->t('Season');
     return $header + parent::buildHeader();
 }
開發者ID:edxxu,項目名稱:Drupal-8-examples,代碼行數:11,代碼來源:FlowerListBuilder.php

示例12: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader()
 {
     $header = array();
     if (!empty($this->weightKey)) {
         $header['weight'] = t('Weight');
     }
     return $header + parent::buildHeader();
 }
開發者ID:318io,項目名稱:318-io,代碼行數:11,代碼來源:DraggableListBuilder.php

示例13: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader()
 {
     MollomUtilities::getAdminAPIKeyStatus();
     MollomUtilities::displayMollomTestModeWarning();
     $header['label'] = $this->t('Form');
     $header['protection_mode'] = $this->t('Protection mode');
     return $header + parent::buildHeader();
 }
開發者ID:isramv,項目名稱:camp-gdl,代碼行數:11,代碼來源:FormListBuilder.php

示例14: buildHeader

 /**
  * {@inheritdoc}
  */
 public function buildHeader()
 {
     $header = [];
     $header['label'] = $this->t('Embed button');
     $header['embed_type'] = $this->t('Embed type');
     $header['icon'] = ['data' => $this->t('Icon'), 'class' => [RESPONSIVE_PRIORITY_LOW]];
     return $header + parent::buildHeader();
 }
開發者ID:nB-MDSO,項目名稱:mdso-d8blog,代碼行數:11,代碼來源:EmbedButtonListBuilder.php

示例15: buildHeader

 /**
  * Builds the header row for the entity listing.
  *
  * @return array
  *   A render array structure of header strings.
  *
  * @see Drupal\Core\Entity\EntityListController::render()
  */
 public function buildHeader()
 {
     $header['label'] = $this->t('Migration Group');
     $header['machine_name'] = $this->t('Machine Name');
     $header['description'] = $this->t('Description');
     $header['source_type'] = $this->t('Source Type');
     return $header + parent::buildHeader();
 }
開發者ID:sojo,項目名稱:d8_friendsofsilence,代碼行數:16,代碼來源:MigrationGroupListBuilder.php


注:本文中的Drupal\Core\Config\Entity\ConfigEntityListBuilder::buildHeader方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。