You are here

public function PageListBuilder::buildHeader in Page Manager 8

Same name and namespace in other branches
  1. 8.4 page_manager_ui/src/Entity/PageListBuilder.php \Drupal\page_manager_ui\Entity\PageListBuilder::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

page_manager_ui/src/Entity/PageListBuilder.php, line 23
Contains \Drupal\page_manager_ui\Entity\PageListBuilder.

Class

PageListBuilder
Provides a list builder for page entities.

Namespace

Drupal\page_manager_ui\Entity

Code

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