public function LtiToolProviderConsumerListBuilder::render in LTI Tool Provider 2.x
Same name and namespace in other branches
- 8 src/LtiToolProviderConsumerListBuilder.php \Drupal\lti_tool_provider\LtiToolProviderConsumerListBuilder::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/
LtiToolProviderConsumerListBuilder.php, line 83
Class
Namespace
Drupal\lti_tool_providerCode
public function render() : array {
$build = parent::render();
$build['table']['#empty'] = $this
->t('No consumers found.');
return $build;
}