1 views_plugin_cache_time.inc views_plugin_cache_time::summary_title()

Return a string to display as the clickable title for the access control.

Overrides views_plugin_cache::summary_title

File

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

Class

views_plugin_cache_time
Simple caching of query results for Views displays.

Code

function summary_title() {
  $results_lifespan = $this->get_lifespan('results');
  $output_lifespan = $this->get_lifespan('output');
  return format_interval($results_lifespan, 1) . '/' . format_interval($output_lifespan, 1);
}