本文整理汇总了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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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;
}
示例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();
}
示例8: buildHeader
/**
* {@inheritdoc}
*/
public function buildHeader() {
$header['title'] = t('Profile');
$header['description'] = [
'data' => t('Description'),
'class' => [RESPONSIVE_PRIORITY_MEDIUM],
];
return $header + parent::buildHeader();
}
示例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();
}
示例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();
}
示例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();
}
示例12: buildHeader
/**
* {@inheritdoc}
*/
public function buildHeader()
{
$header = array();
if (!empty($this->weightKey)) {
$header['weight'] = t('Weight');
}
return $header + parent::buildHeader();
}
示例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();
}
示例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();
}
示例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();
}