You are here

function views_plugin_cache_time::option_defaults in Views (for Drupal 7) 6.2

Retrieve the default options when this is a new access control plugin

Overrides views_plugin_cache::option_defaults

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_defaults(&$options) {
  $options['results_lifespan'] = 3600;
  $options['output_lifespan'] = 3600;
}