public function CasRedirectData::setIsCacheable in CAS 8
Same name and namespace in other branches
- 2.x src/CasRedirectData.php \Drupal\cas\CasRedirectData::setIsCacheable()
Indicate that the redirect response is cacheable.
Parameters
bool $cacheable: TRUE to set the redirect as cacheable, FALSE otherwise.
File
- src/
CasRedirectData.php, line 160
Class
- CasRedirectData
- Class CasRedirectData.
Namespace
Drupal\casCode
public function setIsCacheable($cacheable) {
if ($cacheable) {
$this->isCacheable = TRUE;
}
else {
$this->isCacheable = FALSE;
}
}