protected function AppIdCache::getEntityId in Apigee Edge 8
Returns the unique id of an entity that getEntityIds() returns as well.
Parameters
\Apigee\Edge\Entity\EntityInterface $entity: Entity object.
Return value
string Unique id from the entity that getEntityIds() returns as well.
Overrides EntityIdCache::getEntityId
File
- src/
Entity/ Controller/ Cache/ AppIdCache.php, line 40
Class
- AppIdCache
- Default app id cache implementation for app controller.
Namespace
Drupal\apigee_edge\Entity\Controller\CacheCode
protected function getEntityId(EntityInterface $entity) : string {
/** @var \Apigee\Edge\Api\Management\Entity\AppInterface $entity */
return $entity
->getAppId();
}