protected function EntityIdCache::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.
1 call to EntityIdCache::getEntityId()
- EntityIdCache::saveEntities in src/
Entity/ Controller/ Cache/ EntityIdCache.php - Adds entities to the cache.
2 methods override EntityIdCache::getEntityId()
- AppIdCache::getEntityId in src/
Entity/ Controller/ Cache/ AppIdCache.php - Returns the unique id of an entity that getEntityIds() returns as well.
- DeveloperIdCache::getEntityId in src/
Entity/ Controller/ Cache/ DeveloperIdCache.php - Returns the unique id of an entity that getEntityIds() returns as well.
File
- src/
Entity/ Controller/ Cache/ EntityIdCache.php, line 132
Class
- EntityIdCache
- Base definition of the entity id cache service used by controllers.
Namespace
Drupal\apigee_edge\Entity\Controller\CacheCode
protected function getEntityId(EntityInterface $entity) : string {
return $entity
->id();
}