You are here

public function CasPreRegisterEvent::setPropertyValue in CAS 2.x

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

Class

CasPreRegisterEvent
Class CasPreRegisterEvent.

Namespace

Drupal\cas\Event

Code

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