You are here

public function CasPreValidateEvent::setParameter in CAS 2.x

Same name and namespace in other branches
  1. 8 src/Event/CasPreValidateEvent.php \Drupal\cas\Event\CasPreValidateEvent::setParameter()

Sets a single parameter.

Parameters

string $key: The key of the parameter.

mixed $value: The value of the parameter.

File

src/Event/CasPreValidateEvent.php, line 88

Class

CasPreValidateEvent
Class CasPreValidateEvent.

Namespace

Drupal\cas\Event

Code

public function setParameter($key, $value) {
  $this->parameters[$key] = $value;
}