function AccessPolicyBase::applies
Same name in other branches
- 11.x core/lib/Drupal/Core/Session/AccessPolicyBase.php \Drupal\Core\Session\AccessPolicyBase::applies()
Overrides AccessPolicyInterface::applies
7 methods override AccessPolicyBase::applies()
- AlwaysAddsAccessPolicy::applies in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - AlwaysAltersAccessPolicy::applies in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - BarAccessPolicy::applies in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - BarAlterAccessPolicy::applies in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - BazAccessPolicy::applies in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php
File
-
core/
lib/ Drupal/ Core/ Session/ AccessPolicyBase.php, line 13
Class
- AccessPolicyBase
- Base class for access policies.
Namespace
Drupal\Core\SessionCode
public function applies(string $scope) : bool {
return $scope === AccessPolicyInterface::SCOPE_DRUPAL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.