function AccessPolicyBase::alterPermissions

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Session/AccessPolicyBase.php \Drupal\Core\Session\AccessPolicyBase::alterPermissions()

Overrides AccessPolicyInterface::alterPermissions

2 calls to AccessPolicyBase::alterPermissions()
AlwaysAltersAccessPolicy::alterPermissions in core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
Alter the permissions after all policies have finished building them.
BarAlterAccessPolicy::alterPermissions in core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
Alter the permissions after all policies have finished building them.
2 methods override AccessPolicyBase::alterPermissions()
AlwaysAltersAccessPolicy::alterPermissions in core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
Alter the permissions after all policies have finished building them.
BarAlterAccessPolicy::alterPermissions in core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
Alter the permissions after all policies have finished building them.

File

core/lib/Drupal/Core/Session/AccessPolicyBase.php, line 27

Class

AccessPolicyBase
Base class for access policies.

Namespace

Drupal\Core\Session

Code

public function alterPermissions(AccountInterface $account, string $scope, RefinableCalculatedPermissionsInterface $calculated_permissions) : void {
}

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