constant DRUPAL_CACHE_PER_ROLE

  1. 7 includes/common.inc DRUPAL_CACHE_PER_ROLE
  2. 8 core/includes/common.inc DRUPAL_CACHE_PER_ROLE

The block or element can change depending on the user's roles.

This is the default setting for blocks, used when the block does not specify anything.

File

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

Code

define('DRUPAL_CACHE_PER_ROLE', 0x0001)

Related topics