abstract protected function AppStorage::getCacheTagsByOwner in Apigee Edge 8
Returns app owner related cache tags for an app.
These cache tags gets added to the generated app cache entry which ensures when app's owner gets deleted the related app cache entries gets invalidated as well.
Parameters
\Drupal\apigee_edge\Entity\AppInterface $app: The app entity.
Return value
array Array of app owner related cache entries.
See also
getPersistentCacheTags()
getPersistentCacheTagsForAppName()
2 calls to AppStorage::getCacheTagsByOwner()
- AppStorage::getPersistentCacheTags in src/
Entity/ Storage/ AppStorage.php - Generates cache tags for entities.
- AppStorage::getPersistentCacheTagsForAppName in src/
Entity/ Storage/ AppStorage.php - Generates cache tags for an app.
2 methods override AppStorage::getCacheTagsByOwner()
- DeveloperAppStorage::getCacheTagsByOwner in src/
Entity/ Storage/ DeveloperAppStorage.php - Returns app owner related cache tags for an app.
- TeamAppStorage::getCacheTagsByOwner in modules/
apigee_edge_teams/ src/ Entity/ Storage/ TeamAppStorage.php - Returns app owner related cache tags for an app.
File
- src/
Entity/ Storage/ AppStorage.php, line 206
Class
- AppStorage
- Base entity storage class for developer and team (company) app entities.
Namespace
Drupal\apigee_edge\Entity\StorageCode
protected abstract function getCacheTagsByOwner(AppInterface $app) : array;