public function ModalListBuilder::render in Modal 8.3
Same name and namespace in other branches
- 8.2 src/Entity/Controller/ModalListBuilder.php \Drupal\modal_page\Entity\Controller\ModalListBuilder::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/
Entity/ Controller/ ModalListBuilder.php, line 79
Class
- ModalListBuilder
- Provides a list controller for Modal entity.
Namespace
Drupal\modal_page\Entity\ControllerCode
public function render() {
$build['table'] = parent::render();
return $build;
}