1 views_plugin_cache_time.inc views_plugin_cache_time::get_lifespan($type)

File

core/modules/views/plugins/views_plugin_cache_time.inc, line 86
Definition of views_plugin_cache_time.

Class

views_plugin_cache_time
Simple caching of query results for Views displays.

Code

function get_lifespan($type) {
  $lifespan = $this->options[$type . '_lifespan'] == 'custom' ? $this->options[$type . '_lifespan_custom'] : $this->options[$type . '_lifespan'];
  return $lifespan;
}