AccountPermissionsCacheContext::$permissionsHashGenerator

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php \Drupal\Core\Cache\Context\AccountPermissionsCacheContext::permissionsHashGenerator
  2. 8.9.x core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php \Drupal\Core\Cache\Context\AccountPermissionsCacheContext::permissionsHashGenerator
  3. 11.x core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php \Drupal\Core\Cache\Context\AccountPermissionsCacheContext::permissionsHashGenerator

The permissions hash generator.

Type: \Drupal\Core\Session\PermissionsHashGeneratorInterface

File

core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php, line 20

Class

AccountPermissionsCacheContext
Defines the AccountPermissionsCacheContext service, for "per permission" caching.

Namespace

Drupal\Core\Cache\Context

Code

protected $permissionsHashGenerator;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.