You are here

public function UserFieldsEvent::setUserFields in Social Auth 3.x

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

Class

UserFieldsEvent
Defines the user fields to be set in user creation.

Namespace

Drupal\social_auth\Event

Code

public function setUserFields(array $user_fields) {
  $this->userFields = $user_fields;
}