You are here

public function RegistrationAccessEvent::getAccount in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 3.x src/Event/RegistrationAccessEvent.php \Drupal\rng\Event\RegistrationAccessEvent::getAccount()

Get the user session for which to check access.

Return value

\Drupal\Core\Session\AccountInterface|null Gets the user session or NULL.

File

src/Event/RegistrationAccessEvent.php, line 76

Class

RegistrationAccessEvent
Registration event to influence access.

Namespace

Drupal\rng\Event

Code

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