You are here

service user_permissions_hash_generator in Drupal 8

Same name and namespace in other branches
  1. 9 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
Test 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'