private function DeveloperStorage::sanitizeCacheTags in Apigee Edge 8
Sanitizes accented characters from generated cache tags.
Parameters
string $id: Developer UUID or email address.
array $cache_tags: Array of generated cache tags.
Return value
array Array of sanitized cache tags.
See also
sanitizeCacheTag()
1 call to DeveloperStorage::sanitizeCacheTags()
- DeveloperStorage::getPersistentCacheTags in src/
Entity/ Storage/ DeveloperStorage.php - Generates cache tags for entities.
File
- src/
Entity/ Storage/ DeveloperStorage.php, line 223
Class
- DeveloperStorage
- Entity storage implementation for developers.
Namespace
Drupal\apigee_edge\Entity\StorageCode
private function sanitizeCacheTags(string $id, array $cache_tags) : array {
return array_map(function ($tag) use ($id) {
return $this
->sanitizeCacheTag($id, $tag);
}, $cache_tags);
}