function AlwaysAltersAccessPolicy::getPersistentCacheContexts
Overrides AccessPolicyBase::getPersistentCacheContexts
File
-
core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php, line 550
Class
- AlwaysAltersAccessPolicy
- A test access policy that alters an existing policy.
Namespace
Drupal\Tests\Core\SessionCode
public function getPersistentCacheContexts() : array {
return [
'always',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.