You are here

function cache_actions_views_plugins in Cache Actions 7.2

Same name and namespace in other branches
  1. 6.2 cache_actions.views.inc \cache_actions_views_plugins()
  2. 6 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()

Implements hook_views_plugins().

File

plugins/views/cache_actions.views.inc, line 11
This file contains views hooks.

Code

function cache_actions_views_plugins() {
  return array(
    'cache' => array(
      'rules' => array(
        'title' => t('Rules-triggered Cache'),
        'help' => t('Cache This View for an infinite time. This can be used
          when rules are used to invalidate the cache.'),
        'handler' => 'cache_actions_plugin_cache_rules',
        'help topic' => 'cache-rules',
        'path' => drupal_get_path('module', 'cache_actions') . '/plugins/views',
      ),
    ),
  );
}