You are here

public function DomainPathListBuilder::buildHeader in Domain Path 8

Building the header and content lines for the contact list.

Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.

Overrides EntityListBuilder::buildHeader

1 call to DomainPathListBuilder::buildHeader()
DomainPathListBuilder::getEntityIds in src/Controller/DomainPathListBuilder.php
Loads entity IDs using a pager sorted by the entity id.

File

src/Controller/DomainPathListBuilder.php, line 106

Class

DomainPathListBuilder
Provides a list controller for domain_path entity.

Namespace

Drupal\domain_path\Controller

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('Domain Path ID');
  $header['language'] = $this
    ->t('Language');
  $header['domain_id'] = $this
    ->t('Domain ID');
  $header['source'] = $this
    ->t('Source');
  $header['alias'] = $this
    ->t('Alias');
  return $header + parent::buildHeader();
}