You are here

public function CasPreRegisterEvent::setPropertyValue in CAS 8

Same name and namespace in other branches
  1. 2.x src/Event/CasPreRegisterEvent.php \Drupal\cas\Event\CasPreRegisterEvent::setPropertyValue()

Set a single property value for the user entity on registration.

Parameters

string $property: The user entity property to set.

mixed $value: The value of the property.

File

src/Event/CasPreRegisterEvent.php, line 144

Class

CasPreRegisterEvent
Class CasPreRegisterEvent.

Namespace

Drupal\cas\Event

Code

public function setPropertyValue($property, $value) {
  $this->propertyValues[$property] = $value;
}