You are here

public function TemplateListBuilder::buildHeader in Workbench Email 8

Same name and namespace in other branches
  1. 2.x src/TemplateListBuilder.php \Drupal\workbench_email\TemplateListBuilder::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

src/TemplateListBuilder.php, line 16

Class

TemplateListBuilder
Provides a listing of Email Template entities.

Namespace

Drupal\workbench_email

Code

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