You are here

cache_actions.views.inc in Cache Actions 7

Same filename in this branch
  1. 7 cache_actions.views.inc
  2. 7 plugins/views/cache_actions.views.inc
Same filename and directory in other branches
  1. 7.2 plugins/views/cache_actions.views.inc

This file contains views hooks.

File

plugins/views/cache_actions.views.inc
View source
<?php

/**
 * @file
 * This file contains views hooks.
 */

/**
 * Implementation of hook_views_plugins().
 */
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',
      ),
    ),
  );
}

Functions

Namesort descending Description
cache_actions_views_plugins Implementation of hook_views_plugins().