You are here

service user_permissions_hash_generator in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \user_permissions_hash_generator
  2. 10 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 page.
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
core/core.services.yml

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