function BlockContentTypeListBuilder::buildHeader

Same name and namespace in other branches
  1. 8.9.x 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()
  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 custom 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.