protected function AppListBuilder::renderAppStatus in Apigee Edge 8
Renders the status of an app for the entity list.
Parameters
\Drupal\apigee_edge\Entity\AppInterface $app: App entity.
Return value
array Render array with the app status.
1 call to AppListBuilder::renderAppStatus()
- AppListBuilder::buildInfoRow in src/
Entity/ ListBuilder/ AppListBuilder.php - Builds an info row for an app in the entity listing.
File
- src/
Entity/ ListBuilder/ AppListBuilder.php, line 347
Class
- AppListBuilder
- General app list builder for developer and team apps.
Namespace
Drupal\apigee_edge\Entity\ListBuilderCode
protected function renderAppStatus(AppInterface $app) : array {
$field = $this->entityTypeManager
->getViewBuilder($this->entityTypeId)
->viewField($app
->get('status'), 'default');
$field['#label_display'] = 'hidden';
return $field;
}