public function GroupContent::getRelationPlugin in Group 2.0.x
Returns the group relation plugin that handles the group content.
Return value
\Drupal\group\Plugin\Group\Relation\GroupRelationInterface
Overrides GroupContentInterface::getRelationPlugin
File
- src/
Entity/ GroupContent.php, line 104
Class
- GroupContent
- Defines the Group content entity.
Namespace
Drupal\group\EntityCode
public function getRelationPlugin() {
return $this
->getGroupContentType()
->getRelationPlugin();
}