function ModeratedNodeListBuilder::render
Same name in other branches
- 9 core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::render()
- 8.9.x core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::render()
- 11.x core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::render()
Overrides EntityListBuilder::render
File
-
core/
modules/ content_moderation/ src/ ModeratedNodeListBuilder.php, line 123
Class
- ModeratedNodeListBuilder
- Defines a class to build a listing of moderated node entities.
Namespace
Drupal\content_moderationCode
public function render() {
$build = parent::render();
$build['table']['#empty'] = $this->t('There is no moderated @label yet. Only pending versions of @label, such as drafts, are listed here.', [
'@label' => $this->entityType
->getLabel(),
]);
return $build;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.