You are here

public function GroupMembership::getGroupContent in Group 8

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

Returns the fieldable GroupContent entity for the membership.

Return value

\Drupal\group\Entity\GroupContentInterface

File

src/GroupMembership.php, line 47

Class

GroupMembership
Wrapper class for a GroupContent entity representing a membership.

Namespace

Drupal\group

Code

public function getGroupContent() {
  return $this->groupContent;
}