public function WebformCompositeListBuilder::render in Webform Composite Tools 8
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
- src/
Controller/ WebformCompositeListBuilder.php, line 62
Class
- WebformCompositeListBuilder
- Provides a listing of Reusable Webform Composites entities.
Namespace
Drupal\webform_composite\ControllerCode
public function render() {
$build = [
'description' => [
'#type' => 'item',
'#markup' => $this
->t("Configure Reusable Composite elements."),
],
];
return $build + parent::render();
}