You are here

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

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

Gets the Drupal user entity.

Return value

\Drupal\user\UserInterface The Drupal user account.

File

src/Event/ExternalAuthLoginEvent.php, line 59

Class

ExternalAuthLoginEvent
Notify event listeners about an externalauth user login.

Namespace

Drupal\externalauth\Event

Code

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