You are here

public function UserEmailVerificationVerifyEvent::getUser in User email verification 8

Get the user account being verify.

Return value

\Drupal\user\UserInterface The user account.

File

src/Event/UserEmailVerificationVerifyEvent.php, line 48

Class

UserEmailVerificationVerifyEvent
Wraps a user email verification event for event subscribers.

Namespace

Drupal\user_email_verification\Event

Code

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