public function CasRedirectData::setCacheContexts in CAS 8
Same name and namespace in other branches
- 2.x 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
- Class CasRedirectData.
Namespace
Drupal\casCode
public function setCacheContexts(array $cache_contexts) {
$this->cacheContexts = $cache_contexts;
}