public function GroupMenuContentListBuilder::render in Group Menu 8
Builds the entity listing as renderable array for table.html.twig.
@todo Add a link to add a new item to the #empty text.
Overrides GroupContentListBuilder::render
File
- src/
GroupMenuContentListBuilder.php, line 70
Class
- GroupMenuContentListBuilder
- Provides a list controller for menus entities in a group.
Namespace
Drupal\groupmenuCode
public function render() {
$build = parent::render();
$build['table']['#empty'] = $this
->t("There are no menus related to this group yet.");
return $build;
}