public function EmailListBuilder::buildHeader in Commerce Email 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/
EmailListBuilder.php, line 16
Class
- EmailListBuilder
- Defines the list builder for emails.
Namespace
Drupal\commerce_emailCode
public function buildHeader() {
$header['label'] = $this
->t('Email');
$header['event'] = $this
->t('Event');
$header['status'] = $this
->t('Status');
return $header + parent::buildHeader();
}