public function UserFieldsEvent::setUserFields in Social Auth 8.2
Same name and namespace in other branches
- 3.x src/Event/UserFieldsEvent.php \Drupal\social_auth\Event\UserFieldsEvent::setUserFields()
Sets the user fields.
Parameters
array $user_fields: The user fields.
File
- src/
Event/ UserFieldsEvent.php, line 70
Class
- UserFieldsEvent
- Defines the user fields to be set in user creation.
Namespace
Drupal\social_auth\EventCode
public function setUserFields(array $user_fields) {
$this->userFields = $user_fields;
}