constant DRUPAL_CACHE_PER_USER

The block or element can change depending on the user.

This setting can be resource-consuming for sites with large number of users, and thus should only be used when DRUPAL_CACHE_PER_ROLE is not sufficient.

Related topics

File

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

Code

define('DRUPAL_CACHE_PER_USER', 0x0002)

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!common.inc/constant/DRUPAL_CACHE_PER_USER/7.x