user_permissions_hash_generator

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

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

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