function views_plugin_cache_time::option_definition
Same name in other branches
- 7.x-3.x plugins/views_plugin_cache_time.inc \views_plugin_cache_time::option_definition()
Overrides views_object::option_definition
File
-
plugins/
views_plugin_cache_time.inc, line 7
Class
- views_plugin_cache_time
- Simple caching of query results for Views displays.
Code
function option_definition() {
$options = parent::option_definition();
$options['results_lifespan'] = array(
'default' => 3600,
);
$options['output_lifespan'] = array(
'default' => 3600,
);
return $options;
}