constant BlockCacheKind::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 should only be used when DRUPAL_CACHE_PER_ROLE is not sufficient.'

1 use of BlockCacheKind::CACHE_PER_USER
DefaultBlock::setCache in lib/Drupal/ooe/Block/DefaultBlock.php
Set the cache bitmask.

File

lib/Drupal/ooe/Block/BlockCacheKind.php, line 55
BlockCacheKind

Class

BlockCacheKind
Encapsulates some block caching bitmask constants referenced in hook_block_info().

Namespace

Drupal\ooe\Block

Code

const CACHE_PER_USER = DRUPAL_CACHE_PER_USER;