constant BLOCK_CACHE_PER_ROLE in Drupal 6
The block can change depending on the roles the user viewing the page belongs to. This is the default setting, used when the block does not specify anything.
3 uses of BLOCK_CACHE_PER_ROLE
- book_block in modules/
book/ book.module - Implementation of hook_block().
- profile_block in modules/
profile/ profile.module - Implementation of hook_block().
- _block_get_cache_id in modules/
block/ block.module - Assemble the cache_id to use for a given block.
File
- modules/
block/ block.module, line 44 - Controls the boxes that are displayed around the main content.
Code
define('BLOCK_CACHE_PER_ROLE', 0x1);