function domain_views_plugin_cache_time::summary_title in Domain Views 7
Return a string to display as the clickable title for the access control.
Overrides views_plugin_cache_time::summary_title
File
- includes/
domain_views_plugin_cache_time.inc, line 19 - Domain Views plugin that caches views on a per domain basis. This is necessary for views that filter on "current domain" (ex. SELECT * FROM {node} WHERE domain_source = current_domain) otherwise "current domain" will be cached.
Class
- domain_views_plugin_cache_time
- Cache plugin that provides caching on a per domain basis.
Code
function summary_title() {
// Return a sumary title for the views admin screen (ex. 1 min/1min (Per Domain)).
return format_interval($this->options['results_lifespan'], 1) . '/' . format_interval($this->options['output_lifespan'], 1) . ' (Per Domain)';
}