You are here

public function GroupContentInterface::getEntity in Group 8

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

Returns the entity that was added as group content.

Return value

\Drupal\Core\Entity\EntityInterface

1 method overrides GroupContentInterface::getEntity()
GroupContent::getEntity in src/Entity/GroupContent.php
Returns the entity that was added as group content.

File

src/Entity/GroupContentInterface.php, line 35

Class

GroupContentInterface
Provides an interface defining a Group content entity.

Namespace

Drupal\group\Entity

Code

public function getEntity();