public function GroupRelationInterface::getGroupType in Group 2.0.x
Returns the group type the plugin was instantiated for.
Return value
\Drupal\group\Entity\GroupTypeInterface|null The group type, if set in the plugin configuration.
1 method overrides GroupRelationInterface::getGroupType()
- GroupRelationBase::getGroupType in src/
Plugin/ Group/ Relation/ GroupRelationBase.php - Returns the group type the plugin was instantiated for.
File
- src/
Plugin/ Group/ Relation/ GroupRelationInterface.php, line 93
Class
- GroupRelationInterface
- Defines an interface for pluggable GroupRelation back-ends.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getGroupType();