public function EasyEmailTypeListBuilder::buildHeader in Easy Email 2.0.x
Same name and namespace in other branches
- 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_emailCode
public function buildHeader() {
$header['label'] = $this
->t('Email type');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}