You are here

public function TaxonomyMenuListBuilder::buildHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/taxonomy_menu/src/Controller/TaxonomyMenuListBuilder.php \Drupal\taxonomy_menu\Controller\TaxonomyMenuListBuilder::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

modules/taxonomy_menu/src/Controller/TaxonomyMenuListBuilder.php, line 20
Contains Drupal\taxonomy_menu\Controller\TaxonomyMenuListBuilder.

Class

TaxonomyMenuListBuilder
Provides a listing of TaxonomyMenu.

Namespace

Drupal\taxonomy_menu\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Taxonomy Menu');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}