function views_custom_cache_plugin_cache::option_definition in Views custom cache 7
Implements views_object#option_definition().
Overrides views_object::option_definition
File
- views/
views_custom_cache_plugin_cache.inc, line 36 - Views custom cache first argument plugin.
Class
- views_custom_cache_plugin_cache
- Views caching given view's first argument.
Code
function option_definition() {
$options = parent::option_definition();
$options['cache_time'] = array(
'default' => 3600,
);
$options['cache_time_custom'] = array(
'default' => 0,
);
$options['per_role'] = array(
'default' => 1,
);
$options['entities'] = array(
'default' => 'none',
);
$options['bundles'] = array(
'default' => 'all',
);
return $options;
}