constant BlockCacheKind::CACHE_PER_ROLE

'(default): The block can change depending on the roles the user viewing the page belongs to.'

2 uses of BlockCacheKind::CACHE_PER_ROLE
AbstractProject::newBlock in lib/Drupal/ooe/Project/AbstractProject.php
A helper method to assist in implementing @link AbstractBlock::myBlock().
DefaultBlock::setCache in lib/Drupal/ooe/Block/DefaultBlock.php
Set the cache bitmask.

File

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

Class

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

Namespace

Drupal\ooe\Block

Code

const CACHE_PER_ROLE = DRUPAL_CACHE_PER_ROLE;