Home ›
Block cache constants and other block-making tipsBlock cache constants and other block-making tips
Submitted by Benjamin Melançon on August 8, 2011 - 9:40am
./modules/block/block.api.php:48: * - DRUPAL_CACHE_PER_ROLE (default): The block can change depending on the
./modules/block/block.api.php:50: * - DRUPAL_CACHE_PER_USER: The block can change depending on the user
./modules/block/block.api.php:53: * DRUPAL_CACHE_PER_ROLE is not sufficient.
./modules/block/block.api.php:54: * - DRUPAL_CACHE_PER_PAGE: The block can change depending on the page
./modules/block/block.api.php:56: * - DRUPAL_CACHE_GLOBAL: The block is the same for every user on every
Note:
drush cc all does not trigger hook_block_info_alter().
Comments
Post new comment