public function GroupContentEntityOperationAccessEvent::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.
Overrides GroupContentEntityOperationAccessEventInterface::getGroupContent
File
- src/
Event/ GroupContentEntityOperationAccessEvent.php, line 57
Class
- GroupContentEntityOperationAccessEvent
- Event that determines access to group content entity operations.
Namespace
Drupal\og\EventCode
public function getGroupContent() : ContentEntityInterface {
return $this->groupContent;
}