public function TeamAppListByTeam::render in Apigee Edge 8
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 AppListBuilder::render
File
- modules/
apigee_edge_teams/ src/ Entity/ ListBuilder/ TeamAppListByTeam.php, line 112
Class
- TeamAppListByTeam
- Lists team apps of a team on the UI.
Namespace
Drupal\apigee_edge_teams\Entity\ListBuilderCode
public function render() {
$build = parent::render();
// Update the empty text for table views.
if (!empty($build['table'])) {
$build['table']['#empty'] = t('There are no @label yet.', [
'@label' => $this->entityType
->getPluralLabel(),
]);
}
return $build;
}