You are here

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

Same name and namespace in other branches
  1. 8 src/EasyEmailTypeListBuilder.php \Drupal\easy_email\EasyEmailTypeListBuilder::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/EasyEmailTypeListBuilder.php, line 17

Class

EasyEmailTypeListBuilder
Provides a listing of Email type entities.

Namespace

Drupal\easy_email

Code

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