public function EasyEmailListBuilder::buildHeader in Easy Email 8
Same name and namespace in other branches
- 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_emailCode
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();
}