You are here

public function MandrillTemplateMapListBuilder::buildHeader in Mandrill 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()

File

modules/mandrill_template/src/Controller/MandrillTemplateMapListBuilder.php, line 23
Contains \Drupal\mandrill_template\Controller\MandrillTemplateMapListBuilder.

Class

MandrillTemplateMapListBuilder
Provides a listing of MandrillTemplateMap entities.

Namespace

Drupal\mandrill_template\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Label');
  $header['template_id'] = $this
    ->t('Mandrill Template');
  $header['main_section'] = $this
    ->t('Primary Content Zone');
  $header['mailsystem_key'] = $this
    ->t('In Use By');
  return $header + parent::buildHeader();
}