public function AppByOwnerController::getEntities in Apigee Edge 8
File
- src/
Entity/ Controller/ AppByOwnerController.php, line 122
Class
- AppByOwnerController
- Base class for developer- and company app controller services in Drupal.
Namespace
Drupal\apigee_edge\Entity\ControllerCode
public function getEntities() : array {
if ($this
->entityCache()
->isAllEntitiesInCache()) {
return $this
->entityCache()
->getEntities();
}
$entities = $this
->decorated()
->getEntities();
$this
->entityCache()
->saveEntities($entities);
$this
->entityCache()
->allEntitiesInCache(TRUE);
return $entities;
}