Search for alterPermissions

  1. Search 7.x for alterPermissions
  2. Search 9.5.x for alterPermissions
  3. Search 8.9.x for alterPermissions
  4. Search 11.x for alterPermissions
  5. Other projects
Title Object type File name Summary
AccessPolicyBase::alterPermissions function core/lib/Drupal/Core/Session/AccessPolicyBase.php Alter the permissions after all policies have finished building them.
AccessPolicyInterface::alterPermissions function core/lib/Drupal/Core/Session/AccessPolicyInterface.php Alter the permissions after all policies have finished building them.
AccessPolicyProcessorTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that access policies can alter the final result.
AccessPolicyProcessorTest::testAlterPermissionsNoApply function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that alters that do not apply are not processed.
AlwaysAltersAccessPolicy::alterPermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Alter the permissions after all policies have finished building them.
BarAlterAccessPolicy::alterPermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Alter the permissions after all policies have finished building them.
SuperUserAccessPolicyTest::alterPermissionsProvider function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Data provider for testAlterPermissions.
SuperUserAccessPolicyTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Tests the alterPermissions method.
UserRolesAccessPolicyTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests the alterPermissions method.

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