You are here

public function BlockContentTypeListBuilder::buildHeader in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block_content/src/BlockContentTypeListBuilder.php \Drupal\block_content\BlockContentTypeListBuilder::buildHeader()
  2. 10 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 31

Class

BlockContentTypeListBuilder
Defines a class to build a listing of custom block type entities.

Namespace

Drupal\block_content

Code

public function buildHeader() {
  $header['type'] = t('Block type');
  $header['description'] = t('Description');
  return $header + parent::buildHeader();
}