BlockContentListBuilder::buildHeader

public BlockContentListBuilder::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/BlockContentListBuilder.php, line 18

Class

BlockContentListBuilder
Defines a class to build a listing of custom block entities.

Namespace

Drupal\block_content

Code

public function buildHeader() {
  $header['label'] = t('Block description');
  return $header + parent::buildHeader();
}
doc_Drupal
2016-10-29 08:47:01
Comments
Leave a Comment

Please login to continue.