You are here

public function GroupContentEnablerInterface::getGroupType in Group 8

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 GroupContentEnablerInterface::getGroupType()
GroupContentEnablerBase::getGroupType in src/Plugin/GroupContentEnablerBase.php
Returns the group type the plugin was instantiated for.

File

src/Plugin/GroupContentEnablerInterface.php, line 94

Class

GroupContentEnablerInterface
Defines an interface for pluggable GroupContentEnabler back-ends.

Namespace

Drupal\group\Plugin

Code

public function getGroupType();