function BlockContentTypeListBuilder::buildHeader

Same name in other branches
  1. 9 core/modules/block_content/src/BlockContentTypeListBuilder.php \Drupal\block_content\BlockContentTypeListBuilder::buildHeader()
  2. 8.9.x core/modules/block_content/src/BlockContentTypeListBuilder.php \Drupal\block_content\BlockContentTypeListBuilder::buildHeader()
  3. 11.x core/modules/block_content/src/BlockContentTypeListBuilder.php \Drupal\block_content\BlockContentTypeListBuilder::buildHeader()

Overrides EntityListBuilder::buildHeader

File

core/modules/block_content/src/BlockContentTypeListBuilder.php, line 31

Class

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

Namespace

Drupal\block_content

Code

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.