public function TemplateListBuilder::buildHeader in Workbench Email 2.x
Same name and namespace in other branches
- 8 src/TemplateListBuilder.php \Drupal\workbench_email\TemplateListBuilder::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/
TemplateListBuilder.php, line 16
Class
- TemplateListBuilder
- Provides a listing of Email Template entities.
Namespace
Drupal\workbench_emailCode
public function buildHeader() {
$header['label'] = $this
->t('Email Template');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}