public function AccessEventInterface::getUser in Organic groups 8
Returns the user for which access is being determined.
Return value
\Drupal\Core\Session\AccountInterface The user.
1 method overrides AccessEventInterface::getUser()
- AccessEventBase::getUser in src/
Event/ AccessEventBase.php - Returns the user for which access is being determined.
File
- src/
Event/ AccessEventInterface.php, line 62
Class
- AccessEventInterface
- Interface for events that determine access in Organic Groups.
Namespace
Drupal\og\EventCode
public function getUser() : AccountInterface;