constant DRUPAL_CACHE_PER_PAGE in Drupal 7
The block or element can change depending on the page being viewed.
Related topics
4 uses of DRUPAL_CACHE_PER_PAGE
- BlockCacheTestCase::testCachePerPage in modules/
block/ block.test - Test DRUPAL_CACHE_PER_PAGE.
- book_block_info in modules/
book/ book.module - Implements hook_block_info().
- drupal_render_cid_parts in includes/
common.inc - Returns cache ID parts for building a cache ID.
- profile_block_info in modules/
profile/ profile.module - Implements hook_block_info().
File
- includes/
common.inc, line 156 - Common functions that many Drupal modules will need to reference.
Code
define('DRUPAL_CACHE_PER_PAGE', 0x4);