You are here

public function GroupContentEntityOperationAccessEventInterface::getGroupContent in Organic groups 8

Returns the group content entity upon which the operation is performed.

Return value

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

1 method overrides GroupContentEntityOperationAccessEventInterface::getGroupContent()
GroupContentEntityOperationAccessEvent::getGroupContent in src/Event/GroupContentEntityOperationAccessEvent.php
Returns the group content entity upon which the operation is performed.

File

src/Event/GroupContentEntityOperationAccessEventInterface.php, line 33

Class

GroupContentEntityOperationAccessEventInterface
Interface for events that provide access to group content entity operations.

Namespace

Drupal\og\Event

Code

public function getGroupContent() : ContentEntityInterface;