You are here

function render_cache_cache_info_defaults in Render cache 7.2

Same name and namespace in other branches
  1. 7 render_cache.module \render_cache_cache_info_defaults()

Returns default values for cache info.

Return value

array

Deprecated

@todo remove when all modules are converted.

File

./render_cache.module, line 149
Main module file for the Render Cache caching system.

Code

function render_cache_cache_info_defaults() {

  // Setup defaults.
  return array(
    'bin' => 'cache_render',
    'expire' => CACHE_PERMANENT,
    'granularity' => DRUPAL_CACHE_PER_ROLE,
    // Use per role to support contextual and its safer anyway.
    'keys' => array(),
    // Special keys that are only related to our implementation.
    'render_cache_render_to_markup' => FALSE,
  );
}