You are here

public function UserEvent::getUser in Social Auth 8.2

Same name and namespace in other branches
  1. 3.x src/Event/UserEvent.php \Drupal\social_auth\Event\UserEvent::getUser()

Gets the user.

Return value

\Drupal\user\UserInterface The user.

File

src/Event/UserEvent.php, line 59

Class

UserEvent
Dispatched when user is created or logged in through Social Auth.

Namespace

Drupal\social_auth\Event

Code

public function getUser() {
  return $this->user;
}