protected function RenderCacheBackendAdapter::getCacheId in Render cache 7.2
Calculates the Cache ID from the cache keys.
Parameters
array $cache_info: The cache info structure.
Return value
string|NULL The calculated cache id.
2 calls to RenderCacheBackendAdapter::getCacheId()
- RenderCacheBackendAdapter::getMultiple in src/
Cache/ RenderCacheBackendAdapter.php - Gets multiple cache entries based on the cache info map.
- RenderCacheBackendAdapter::set in src/
Cache/ RenderCacheBackendAdapter.php - Sets one cache entry based on the given $cache_info structure.
File
- src/
Cache/ RenderCacheBackendAdapter.php, line 208 - Contains \Drupal\render_cache\Cache\RenderCacheBackendAdapter
Class
- RenderCacheBackendAdapter
- Defines the render_cache.cache service.
Namespace
Drupal\render_cache\CacheCode
protected function getCacheId(array $cache_info) {
return $cache_info['cid'];
}