user_permissions_hash_generator

Same name in other branches
  1. 9 core/core.services.yml \user_permissions_hash_generator
  2. 8.9.x core/core.services.yml \user_permissions_hash_generator

Class

Drupal\Core\Session\PermissionsHashGenerator
2 string references to user_permissions_hash_generator
UserPermissionsTest::testUserPermissionChanges in core/modules/user/tests/src/Functional/UserPermissionsTest.php
Tests changing user permissions through the permissions pages.
UserPermissionsTest::testUserRoleChangePermissions in core/modules/user/tests/src/Functional/UserPermissionsTest.php
Verify proper permission changes by user_role_change_permissions().

File

core/core.services.yml

View source
  1. class: Drupal\Core\Session\PermissionsHashGenerator
  2. arguments:
  3. - '@private_key'
  4. - '@cache.static'
  5. - '@access_policy_processor'

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