public function FixedBlockContentListBuilder::buildHeader in Fixed Block Content 8
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
- src/
FixedBlockContentListBuilder.php, line 18
Class
- FixedBlockContentListBuilder
- Fixed block content list handler.
Namespace
Drupal\fixed_block_contentCode
public function buildHeader() {
$header_row = [
'id' => $this
->t('ID'),
'label' => $this
->t('Block description'),
'block_content_bundle' => $this
->t('Block type'),
'block_content' => $this
->t('Block content'),
];
return $header_row + parent::buildHeader();
}