You are here

public function GroupContent::getGroupContentType in Group 8

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

Returns the group content type entity the group content uses.

Return value

\Drupal\group\Entity\GroupContentTypeInterface

Overrides GroupContentInterface::getGroupContentType

File

src/Entity/GroupContent.php, line 85

Class

GroupContent
Defines the Group content entity.

Namespace

Drupal\group\Entity

Code

public function getGroupContentType() {
  return $this->type->entity;
}