You are here

public function EmailOverrideListBuilder::buildHeader in Easy Email 2.0.x

Same name and namespace in other branches
  1. 8 modules/easy_email_override/src/EmailOverrideListBuilder.php \Drupal\easy_email_override\EmailOverrideListBuilder::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

modules/easy_email_override/src/EmailOverrideListBuilder.php, line 16

Class

EmailOverrideListBuilder
Provides a listing of Email Override entities.

Namespace

Drupal\easy_email_override

Code

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