You are here

function views_content_cache_plugin_cache::option_definition in Views content cache 6.2

Same name and namespace in other branches
  1. 7.3 views/views_content_cache_plugin_cache.inc \views_content_cache_plugin_cache::option_definition()

File

views/views_content_cache_plugin_cache.inc, line 9

Class

views_content_cache_plugin_cache
Simple caching of query results for Views displays. Includes listening for changes/posts/deletions of certain node types.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['results_min_lifespan'] = array(
    'default' => 0,
  );
  $options['results_max_lifespan'] = array(
    'default' => 21600,
  );
  $options['output_min_lifespan'] = array(
    'default' => 0,
  );
  $options['output_max_lifespan'] = array(
    'default' => 21600,
  );
  $options['keys'] = array(
    'default' => array(),
  );
  return $options;
}