You are here

function cache_actions_views_plugins in Cache Actions 6

Same name and namespace in other branches
  1. 6.2 cache_actions.views.inc \cache_actions_views_plugins()
  2. 7.2 plugins/views/cache_actions.views.inc \cache_actions_views_plugins()
  3. 7 cache_actions.views.inc \cache_actions_views_plugins()
  4. 7 plugins/views/cache_actions.views.inc \cache_actions_views_plugins()

Implementation of hook_views_plugins.

File

./cache_actions.views.inc, line 12
This file contains views hooks. @author Fabian Sörqvist <fabian.sorqvist@gmail.com>

Code

function cache_actions_views_plugins() {
  return array(
    'cache' => array(
      'rules' => array(
        'title' => t('Rules-triggered cache'),
        'help' => t('Caches the view for an inifinite amount of time
        and lets rules handle the clearing of the cache.'),
        'handler' => 'views_plugin_cache_rules',
        'help-topic' => 'cache-rules',
      ),
    ),
  );
}