You are here

public function ExternalLinkPopupListBuilder::buildHeader in External Link Pop-up 8

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/Controller/ExternalLinkPopupListBuilder.php, line 16

Class

ExternalLinkPopupListBuilder
Provides a listing of Example.

Namespace

Drupal\external_link_popup\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Name');
  $header['id'] = $this
    ->t('Machine name');
  $header['domains'] = $this
    ->t('Domains');
  $header['status'] = $this
    ->t('Status');
  return $header + parent::buildHeader();
}