public function MaestroTemplateListBuilder::render in Maestro 3.x
Same name and namespace in other branches
- 8.2 src/Controller/MaestroTemplateListBuilder.php \Drupal\maestro\Controller\MaestroTemplateListBuilder::render()
Adds some descriptive text to our entity list.
Return value
array Renderable array.
Overrides EntityListBuilder::render
File
- src/
Controller/ MaestroTemplateListBuilder.php, line 61
Class
- MaestroTemplateListBuilder
- Provides a listing of Maestro Template entities.
Namespace
Drupal\maestro\ControllerCode
public function render() {
$build['description'] = [
'#markup' => $this
->t("<p>This is the full listing of Maestro Templates in your system.</p>"),
'#attached' => [
'library' => 'maestro/maestro-engine-css',
],
];
$build[] = parent::render();
return $build;
}