class EmptyAccessPolicy
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php \Drupal\Tests\Core\Session\EmptyAccessPolicy
Hierarchy
- class \Drupal\Core\Session\AccessPolicyBase extends \Drupal\Core\Session\AccessPolicyInterface
- class \Drupal\Tests\Core\Session\EmptyAccessPolicy implements \Drupal\Core\Session\AccessPolicyBase
Expanded class hierarchy of EmptyAccessPolicy
File
-
core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php, line 537
Namespace
Drupal\Tests\Core\SessionView source
class EmptyAccessPolicy extends AccessPolicyBase {
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
AccessPolicyBase::alterPermissions | public | function | Alter the permissions after all policies have finished building them. | Overrides AccessPolicyInterface::alterPermissions | 2 |
AccessPolicyBase::applies | public | function | Checks whether this access policy applies to a given scope. | Overrides AccessPolicyInterface::applies | 7 |
AccessPolicyBase::calculatePermissions | public | function | Calculates the permissions for an account within a given scope. | Overrides AccessPolicyInterface::calculatePermissions | 7 |
AccessPolicyBase::getPersistentCacheContexts | public | function | Gets the persistent cache contexts. | Overrides AccessPolicyInterface::getPersistentCacheContexts | 9 |
AccessPolicyInterface::SCOPE_DRUPAL | constant | Scope ID for general Drupal access. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.