You are here

public function AccessEventInterface::getGroup in Organic groups 8

Returns the group that provides the context for the access check.

Return value

\Drupal\Core\Entity\ContentEntityInterface The group entity.

1 method overrides AccessEventInterface::getGroup()
AccessEventBase::getGroup in src/Event/AccessEventBase.php
Returns the group that provides the context for the access check.

File

src/Event/AccessEventInterface.php, line 54

Class

AccessEventInterface
Interface for events that determine access in Organic Groups.

Namespace

Drupal\og\Event

Code

public function getGroup() : ContentEntityInterface;