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