Skip navigation
Help

DRUPAL_CACHE_PER_ROLE

  1. drupal
    1. 7 drupal/includes/common.inc

The block or element can change depending on the roles the user viewing the page belongs to. This is the default setting for blocks, used when the block does not specify anything.

File

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

Code

define('DRUPAL_CACHE_PER_ROLE', 0x0001)