public function ContentModerationNotificationsListBuilder::buildHeader in Content Moderation Notifications 8
Same name and namespace in other branches
- 8.3 src/Controller/ContentModerationNotificationsListBuilder.php \Drupal\content_moderation_notifications\Controller\ContentModerationNotificationsListBuilder::buildHeader()
- 8.2 src/Controller/ContentModerationNotificationsListBuilder.php \Drupal\content_moderation_notifications\Controller\ContentModerationNotificationsListBuilder::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\EntityListController::render()
File
- src/
Controller/ ContentModerationNotificationsListBuilder.php, line 39
Class
- ContentModerationNotificationsListBuilder
- Provides a listing of content_moderation_notification entities.
Namespace
Drupal\content_moderation_notifications\ControllerCode
public function buildHeader() {
$header['transition'] = $this
->t('Transitions');
$header['bundles'] = $this
->t('Enabled Bundles');
$header['roles'] = $this
->t('Email Roles');
$header['author'] = $this
->t('Email Author');
$header['emails'] = $this
->t('Adhoc Emails');
return $header + parent::buildHeader();
}