public function GroupContent::getGroupContentType in Group 8
Same name and namespace in other branches
- 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\EntityCode
public function getGroupContentType() {
return $this->type->entity;
}