You are here

public function GroupHierarchyManagerInterface::getGroupSubgroups in Subgroup (Graph) 1.0.x

Loads the subgroups of a given group.

Parameters

int $group_id: The group for which subgroups will be loaded.

Return value

\Drupal\group\Entity\GroupInterface[] An array of subgroups for the given group.

1 method overrides GroupHierarchyManagerInterface::getGroupSubgroups()
GroupHierarchyManager::getGroupSubgroups in src/GroupHierarchyManager.php
Loads the subgroups of a given group.

File

src/GroupHierarchyManagerInterface.php, line 52

Class

GroupHierarchyManagerInterface
An interface for the group hierarchy manager.

Namespace

Drupal\ggroup

Code

public function getGroupSubgroups($group_id);