You are here

protected function Subgroup::getSubgroupType in Subgroup (Graph) 1.0.x

Retrieves the group type this plugin supports.

Return value

\Drupal\group\Entity\GroupTypeInterface The group type this plugin supports.

1 call to Subgroup::getSubgroupType()
Subgroup::defaultConfiguration in src/Plugin/GroupContentEnabler/Subgroup.php

File

src/Plugin/GroupContentEnabler/Subgroup.php, line 34

Class

Subgroup
Provides a content enabler for subgroups.

Namespace

Drupal\ggroup\Plugin\GroupContentEnabler

Code

protected function getSubgroupType() {
  return GroupType::load($this
    ->getEntityBundle());
}