You are here

public function AccessEventBase::getUser in Organic groups 8

Returns the user for which access is being determined.

Return value

\Drupal\Core\Session\AccountInterface The user.

Overrides AccessEventInterface::getUser

File

src/Event/AccessEventBase.php, line 91

Class

AccessEventBase
Base class for OG access events.

Namespace

Drupal\og\Event

Code

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