You are here

views_plugin_cache_rules.inc in Cache Actions 6

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

This file contains a cache that just implements the views cache plugin. @author Fabian Sörqvist <fabian.sorqvist@gmail.com>

File

views_plugin_cache_rules.inc
View source
<?php

/**
 * @file
 * This file contains a cache that just implements the views
 * cache plugin.
 * @author Fabian Sörqvist <fabian.sorqvist@gmail.com>
 */

/**
 * Plugin that caches views infinitely. This is not really
 * that useful unless you want rules to invalidate your cache.
 */
class views_plugin_cache_rules extends views_plugin_cache {
  function summary_title() {
    return t('Rules');
  }
  function cache_expire($type) {
    return FALSE;
  }

}

Classes

Namesort descending Description
views_plugin_cache_rules Plugin that caches views infinitely. This is not really that useful unless you want rules to invalidate your cache.