You are here

function hook_render_cache_entity_hash_alter in Render cache 7

Same name and namespace in other branches
  1. 7.2 render_cache.api.php \hook_render_cache_entity_hash_alter()

Hook to alter the entity hash.

Parameters

array $hash:

object $entity:

array $cache_info:

array $context:

1 function implements hook_render_cache_entity_hash_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

node_render_cache_entity_hash_alter in ./render_cache.module
Implements hook_render_cache_entity_hash_alter().
1 invocation of hook_render_cache_entity_hash_alter()
render_cache_get_entity_cid in ./render_cache.module
Retrieve cache ID to use for entity render caching.

File

./render_cache.api.php, line 11

Code

function hook_render_cache_entity_hash_alter(&$hash, $entity, $cache_info, $context) {

  // @todo Add example implementation.
}