You are here

public function CasRedirectData::setCacheContexts in CAS 8

Same name and namespace in other branches
  1. 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\cas

Code

public function setCacheContexts(array $cache_contexts) {
  $this->cacheContexts = $cache_contexts;
}