You are here

cache_actions.views.inc in Cache Actions 6

Same filename and directory in other branches
  1. 6.2 cache_actions.views.inc
  2. 7 cache_actions.views.inc

This file contains views hooks. @author Fabian Sörqvist <fabian.sorqvist@gmail.com>

File

cache_actions.views.inc
View source
<?php

/**
 * @file
 * This file contains views hooks.
 * @author Fabian Sörqvist <fabian.sorqvist@gmail.com>
 */

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

Functions

Namesort descending Description
cache_actions_views_plugins Implementation of hook_views_plugins.