You are here

constant CACHE_PERMANENT in Drupal 7

Same name and namespace in other branches
  1. 4 includes/bootstrap.inc \CACHE_PERMANENT
  2. 5 includes/bootstrap.inc \CACHE_PERMANENT
  3. 6 includes/bootstrap.inc \CACHE_PERMANENT

Indicates that the item should never be removed unless explicitly selected.

The item may be removed using cache_clear_all() with a cache ID.

2 uses of CACHE_PERMANENT
DrupalDatabaseCache::prepareItem in includes/cache.inc
Prepares a cached item.
drupal_render_cache_set in includes/common.inc
Caches the rendered output of a renderable element.

File

includes/bootstrap.inc, line 48
Functions that need to be loaded on every Drupal request.

Code

define('CACHE_PERMANENT', 0);