public function UserEvent::getUser in Social Auth 3.x
Same name and namespace in other branches
- 8.2 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 58
Class
- UserEvent
- Dispatched when user is created or logged in through Social Auth.
Namespace
Drupal\social_auth\EventCode
public function getUser() {
return $this->user;
}