constant DRUPAL_CACHE_CUSTOM

The block is handling its own caching in its hook_block_view().

This setting is useful when time based expiration is needed or a site uses a node access which invalidates standard block cache.

Related topics

File

includes/common.inc, line 135
Common functions that many Drupal modules will need to reference.

Code

define('DRUPAL_CACHE_CUSTOM', -2)

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!common.inc/constant/DRUPAL_CACHE_CUSTOM/7.x