You are here

public function DomainAliasListBuilder::buildHeader in Domain Access 8

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()

1 call to DomainAliasListBuilder::buildHeader()
DomainAliasListBuilder::render in domain_alias/src/DomainAliasListBuilder.php
Builds the entity listing as renderable array for table.html.twig.

File

domain_alias/src/DomainAliasListBuilder.php, line 24

Class

DomainAliasListBuilder
User interface for the domain alias overview screen.

Namespace

Drupal\domain_alias

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Pattern');
  $header['redirect'] = $this
    ->t('Redirect');
  $header['environment'] = $this
    ->t('Environment');
  return $header + parent::buildHeader();
}