DRUPAL_CACHE_PER_ROLE

in 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.

<?php
define('DRUPAL_CACHE_PER_ROLE', 0x0001);
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.