You are here

public function ExternalAuthRegisterEvent::getAccount in External Authentication 2.0.x

Same name and namespace in other branches
  1. 8 src/Event/ExternalAuthRegisterEvent.php \Drupal\externalauth\Event\ExternalAuthRegisterEvent::getAccount()

Gets the Drupal user entity.

Return value

\Drupal\user\UserInterface The Drupal user account.

File

src/Event/ExternalAuthRegisterEvent.php, line 69

Class

ExternalAuthRegisterEvent
Notify event listeners about an externalauth user registration.

Namespace

Drupal\externalauth\Event

Code

public function getAccount() {
  return $this->account;
}