constant BLOCK_CACHE_PER_USER in Block Cache Alter 6
Same name in this branch
- 6 patches/block_with_node_grants.module \BLOCK_CACHE_PER_USER
- 6 patches/block_no_node_grants.module \BLOCK_CACHE_PER_USER
The block can change depending on the user viewing the page. This setting can be resource-consuming for sites with large number of users, and thus should only be used when BLOCK_CACHE_PER_ROLE is not sufficient.
3 uses of BLOCK_CACHE_PER_USER
- _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 51 - Controls the boxes that are displayed around the main content.
Code
define('BLOCK_CACHE_PER_USER', 0x2);