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