public function ModeratedNodeListBuilder::buildHeader in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::buildHeader()
- 10 core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::buildHeader()
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides NodeListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- core/
modules/ content_moderation/ src/ ModeratedNodeListBuilder.php, line 102
Class
- ModeratedNodeListBuilder
- Defines a class to build a listing of moderated node entities.
Namespace
Drupal\content_moderationCode
public function buildHeader() {
$header = parent::buildHeader();
$header['status'] = $this
->t('Moderation state');
return $header;
}