You are here

public function GroupContentInterface::getGroup in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/GroupContentInterface.php \Drupal\group\Entity\GroupContentInterface::getGroup()

Returns the group the group content belongs to.

Return value

\Drupal\group\Entity\GroupInterface

1 method overrides GroupContentInterface::getGroup()
GroupContent::getGroup in src/Entity/GroupContent.php
Returns the group the group content belongs to.

File

src/Entity/GroupContentInterface.php, line 28

Class

GroupContentInterface
Provides an interface defining a Group content entity.

Namespace

Drupal\group\Entity

Code

public function getGroup();