You are here

public function EasyEmailListBuilder::buildHeader in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/EasyEmailListBuilder.php \Drupal\easy_email\EasyEmailListBuilder::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/EasyEmailListBuilder.php, line 33

Class

EasyEmailListBuilder
Defines a class to build a listing of Email entities.

Namespace

Drupal\easy_email

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['type'] = $this
    ->t('Type');
  $header['recipient'] = $this
    ->t('Recipient');
  $header['created'] = $this
    ->t('Created');
  $header['sent'] = $this
    ->t('Sent');
  $header['status'] = $this
    ->t('Status');
  return $header + parent::buildHeader();
}