You are here

constant BLOCK_CACHE_PER_ROLE in Block Cache Alter 6

Same name in this branch
  1. 6 patches/block_with_node_grants.module \BLOCK_CACHE_PER_ROLE
  2. 6 patches/block_no_node_grants.module \BLOCK_CACHE_PER_ROLE

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
_blockcache_alter_get_cache_id in ./blockcache_alter.module
Get cid for a block.
_block_get_cache_id in patches/block_with_node_grants.module
Assemble the cache_id to use for a given block.
_block_get_cache_id in patches/block_no_node_grants.module
Assemble the cache_id to use for a given block.

File

patches/block_no_node_grants.module, line 44
Controls the boxes that are displayed around the main content.

Code

define('BLOCK_CACHE_PER_ROLE', 0x1);