public function RelationListBuilder::render in Relation 8
Same name and namespace in other branches
- 8.2 src/RelationListBuilder.php \Drupal\relation\RelationListBuilder::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/
RelationListBuilder.php, line 93 - Contains \Drupal\relation\RelationListBuilder.
Class
- RelationListBuilder
- Provides a listing of relation types.
Namespace
Drupal\relationCode
public function render() {
$build = parent::render();
$build['#empty'] = t('No relations exist.');
return $build;
}