You are here

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

Loads the supergroups of a given group.

Parameters

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

Return value

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

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

File

src/GroupHierarchyManagerInterface.php, line 74

Class

GroupHierarchyManagerInterface
An interface for the group hierarchy manager.

Namespace

Drupal\ggroup

Code

public function getGroupSupergroups($group_id);