function BlockContentTypeListBuilder::buildHeader
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
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_contentCode
public function buildHeader() {
$header['type'] = $this->t('Block type');
$header['description'] = $this->t('Description');
return $header + parent::buildHeader();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.