You are here

public function PetListBuilder::buildHeader in Previewable email templates 8

Same name and namespace in other branches
  1. 8.4 src/Controller/PetListBuilder.php \Drupal\pet\Controller\PetListBuilder::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/Controller/PetListBuilder.php, line 52

Class

PetListBuilder
Class for pet listing page.

Namespace

Drupal\pet\Controller

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('PET ID');
  $header['title'] = $this
    ->t('Title');
  $header['subject'] = $this
    ->t('Subject');
  $header['status'] = $this
    ->t('Status');
  return $header + parent::buildHeader();
}