You are here

protected function RenderCache::generateCacheId in RESTful 7.2

Generates the cache id based on the hash and the fragment IDs.

Return value

string The cid.

3 calls to RenderCache::generateCacheId()
RenderCache::clear in src/RenderCache/RenderCache.php
Clears the cache for the given cache object.
RenderCache::get in src/RenderCache/RenderCache.php
Get the cache.
RenderCache::set in src/RenderCache/RenderCache.php
Set the cache.

File

src/RenderCache/RenderCache.php, line 138
Contains \Drupal\restful\RenderCache\RenderCache.

Class

RenderCache
Class RenderCache.

Namespace

Drupal\restful\RenderCache

Code

protected function generateCacheId() {
  return $this->hash;
}