final protected function AppStorage::getPersistentCacheTags in Apigee Edge 8
Generates cache tags for entities.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: An entity object.
Return value
array Array of cache tags.
Overrides FieldableEdgeEntityStorageBase::getPersistentCacheTags
File
- src/
Entity/ Storage/ AppStorage.php, line 163
Class
- AppStorage
- Base entity storage class for developer and team (company) app entities.
Namespace
Drupal\apigee_edge\Entity\StorageCode
protected final function getPersistentCacheTags(EntityInterface $entity) {
/** @var \Drupal\apigee_edge\Entity\AppInterface $entity */
$cache_tags = parent::getPersistentCacheTags($entity);
return array_merge($cache_tags, $this
->getCacheTagsByOwner($entity));
}