public function ContactEmailListBuilder::buildHeader in Contact Emails 8
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/
ContactEmailListBuilder.php, line 18
Class
- ContactEmailListBuilder
- Defines the list builder for tax services.
Namespace
Drupal\contact_emailsCode
public function buildHeader() {
$header['id'] = $this
->t('ID');
$header['contact_form'] = $this
->t('Contact form');
$header['subject'] = $this
->t('Subject');
$header['recipients'] = $this
->t('Recipients');
$header['status'] = $this
->t('Status');
return $header + parent::buildHeader();
}