function AlwaysAltersAccessPolicy::getPersistentCacheContexts
Same name in other branches
- 10 core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php \Drupal\Tests\Core\Session\AlwaysAltersAccessPolicy::getPersistentCacheContexts()
Overrides AccessPolicyBase::getPersistentCacheContexts
File
-
core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php, line 531
Class
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.