function AccessPolicyBase::alterPermissions
Same name in other branches
- 10 core/lib/Drupal/Core/Session/AccessPolicyBase.php \Drupal\Core\Session\AccessPolicyBase::alterPermissions()
Overrides AccessPolicyInterface::alterPermissions
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\SessionCode
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.