public function CasRedirectData::setCacheContexts in CAS 2.x
Same name and namespace in other branches
- 8 src/CasRedirectData.php \Drupal\cas\CasRedirectData::setCacheContexts()
Set the cache contexts for the redirect response.
Parameters
array $cache_contexts: The cache contexts.
File
- src/
CasRedirectData.php, line 230
Class
- CasRedirectData
- Provides tools to build the redirects.
Namespace
Drupal\casCode
public function setCacheContexts(array $cache_contexts) {
$this->cacheContexts = $cache_contexts;
}