public function CasRedirectData::setServiceParameter in CAS 8
Same name and namespace in other branches
- 2.x src/CasRedirectData.php \Drupal\cas\CasRedirectData::setServiceParameter()
Set a service paramater.
Parameters
string $key: Service parameter to set.
mixed $value: Value of service parmaeter to set.
File
- src/
CasRedirectData.php, line 122
Class
- CasRedirectData
- Class CasRedirectData.
Namespace
Drupal\casCode
public function setServiceParameter($key, $value) {
if (empty($value)) {
unset($this->serviceParameters[$key]);
}
else {
$this->serviceParameters[$key] = $value;
}
}