You are here

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

Relates one group to another as a subgroup.

Parameters

\Drupal\group\Entity\GroupContentInterface $group_content: The group content representing the subgroup relationship.

1 method overrides GroupHierarchyManagerInterface::addSubgroup()
GroupHierarchyManager::addSubgroup in src/GroupHierarchyManager.php
Relates one group to another as a subgroup.

File

src/GroupHierarchyManagerInterface.php, line 19

Class

GroupHierarchyManagerInterface
An interface for the group hierarchy manager.

Namespace

Drupal\ggroup

Code

public function addSubgroup(GroupContentInterface $group_content);