function views_plugin_cache_time::option_definition
Overrides views_object::option_definition
File
-
plugins/
views_plugin_cache_time.inc, line 18
Class
- views_plugin_cache_time
- Simple caching of query results for Views displays.
Code
public function option_definition() {
$options = parent::option_definition();
$options['results_lifespan'] = array(
'default' => 3600,
);
$options['results_lifespan_custom'] = array(
'default' => 0,
);
$options['output_lifespan'] = array(
'default' => 3600,
);
$options['output_lifespan_custom'] = array(
'default' => 0,
);
return $options;
}