protected function ApiProductStorage::entityController in Apigee Edge 8
Returns the wrapped controller instance used by this storage.
Return value
\Drupal\apigee_edge\Entity\Controller\EdgeEntityControllerInterface The entity controller interface with CRUDL capabilities.
Overrides EdgeEntityStorageBase::entityController
File
- src/
Entity/ Storage/ ApiProductStorage.php, line 85
Class
- ApiProductStorage
- Entity storage class for API product entities.
Namespace
Drupal\apigee_edge\Entity\StorageCode
protected function entityController() : EdgeEntityControllerInterface {
if ($this->apiProductController instanceof EntityCacheAwareControllerInterface) {
return new CachedManagementApiEdgeEntityControllerProxy($this->apiProductController);
}
return new ManagementApiEdgeEntityControllerProxy($this->apiProductController);
}