function RobotListBuilder::render
Same name in other branches
- 8.x-1.x config_entity_example/src/Controller/RobotListBuilder.php \Drupal\config_entity_example\Controller\RobotListBuilder::render()
- 4.0.x modules/config_entity_example/src/Controller/RobotListBuilder.php \Drupal\config_entity_example\Controller\RobotListBuilder::render()
Adds some descriptive text to our entity list.
Typically, there's no need to override render(). You may wish to do so, however, if you want to add markup before or after the table.
Return value
array Renderable array.
Overrides EntityListBuilder::render
File
-
modules/
config_entity_example/ src/ Controller/ RobotListBuilder.php, line 81
Class
- RobotListBuilder
- Provides a listing of robot entities.
Namespace
Drupal\config_entity_example\ControllerCode
public function render() {
$build = $this->description();
$build[] = parent::render();
return $build;
}