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