public function EventTypeListBuilder::render in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/Lists/EventTypeListBuilder.php \Drupal\rng\Lists\EventTypeListBuilder::render()
- 3.x src/Lists/EventTypeListBuilder.php \Drupal\rng\Lists\EventTypeListBuilder::render()
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 EntityListBuilder::render
File
- src/
Lists/ EventTypeListBuilder.php, line 112
Class
- EventTypeListBuilder
- Builds a list of event config entities.
Namespace
Drupal\rng\ListsCode
public function render() {
$render = parent::render();
$render['table']['#empty'] = t('No event types found.');
return $render;
}