public function ChannelListBuilder::buildHeader in Entity Share 8.2
Same name and namespace in other branches
- 8.3 modules/entity_share_server/src/ChannelListBuilder.php \Drupal\entity_share_server\ChannelListBuilder::buildHeader()
- 8 modules/entity_share_server/src/ChannelListBuilder.php \Drupal\entity_share_server\ChannelListBuilder::buildHeader()
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- modules/
entity_share_server/ src/ ChannelListBuilder.php, line 86
Class
- ChannelListBuilder
- Provides a listing of Channel entities.
Namespace
Drupal\entity_share_serverCode
public function buildHeader() {
$header['label'] = $this
->t('Channel');
$header['entity_type'] = $this
->t('Entity type');
$header['bundle'] = $this
->t('Bundle');
$header['language'] = $this
->t('Language');
return $header + parent::buildHeader();
}