public function BlockContentTypeListBuilder::buildHeader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block_content/src/BlockContentTypeListBuilder.php \Drupal\block_content\BlockContentTypeListBuilder::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
- core/
modules/ block_content/ src/ BlockContentTypeListBuilder.php, line 36 - Contains \Drupal\block_content\BlockContentTypeListBuilder.
Class
- BlockContentTypeListBuilder
- Defines a class to build a listing of custom block type entities.
Namespace
Drupal\block_contentCode
public function buildHeader() {
$header['type'] = t('Block type');
$header['description'] = t('Description');
return $header + parent::buildHeader();
}