constant DRUPAL_CACHE_PER_PAGE

The block or element can change depending on the page being viewed.

Related topics

3 uses of DRUPAL_CACHE_PER_PAGE
BlockCacheTest::testCachePerPage in drupal/core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php
Test DRUPAL_CACHE_PER_PAGE.
BookNavigationBlock::settings in drupal/core/modules/book/lib/Drupal/book/Plugin/Block/BookNavigationBlock.php
Overrides \Drupal\block\BlockBase::settings().
drupal_render_cid_parts in drupal/core/includes/common.inc
Returns cache ID parts for building a cache ID.

File

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

Code

const DRUPAL_CACHE_PER_PAGE = 0x4;