public 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 31
Class
- BlockContentTypeListBuilder
- Defines a class to build a listing of custom block type entities.
Namespace
Drupal\block_content
Code
1 2 3 4 5 | public function buildHeader() { $header [ 'type' ] = t( 'Block type' ); $header [ 'description' ] = t( 'Description' ); return $header + parent::buildHeader(); } |
Please login to continue.