DRUPAL_CACHE_CUSTOM

  1. drupal
    1. 8
    2. 7

The block is handling its own caching in its hook_block_view(). From the perspective of the block cache system, this is equivalent to DRUPAL_NO_CACHE. Useful when time based expiration is needed or a site uses a node access which invalidates standard block cache.

includes/common.inc, line 127

<?php
define('DRUPAL_CACHE_CUSTOM', -2)
?>