当前位置: 首页>>代码示例>>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;未经允许,请勿转载。