public function MailingListListBuilder::buildHeader in Mailing List 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/
MailingListListBuilder.php, line 19
Class
- MailingListListBuilder
- Defines a class to build a listing of mailing list entities.
Namespace
Drupal\mailing_listCode
public function buildHeader() {
$header['title'] = t('Name');
$header['description'] = [
'data' => t('Description'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
return $header + parent::buildHeader();
}