You are here

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

Same name and namespace in other branches
  1. 8.2 src/Event/UserFieldsEvent.php \Drupal\social_auth\Event\UserFieldsEvent::getUserFields()

Gets the user fields.

Return value

array Fields to initialize for the user creation.

File

src/Event/UserFieldsEvent.php, line 59

Class

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

Namespace

Drupal\social_auth\Event

Code

public function getUserFields() {
  return $this->userFields;
}