public function GroupHierarchyManagerInterface::removeSubgroup in Subgroup (Graph) 1.0.x
Removes the relationship of a subgroup.
Parameters
\Drupal\group\Entity\GroupContentInterface $group_content: The group content representing the subgroup relationship.
1 method overrides GroupHierarchyManagerInterface::removeSubgroup()
- GroupHierarchyManager::removeSubgroup in src/
GroupHierarchyManager.php - Removes the relationship of a subgroup.
File
- src/
GroupHierarchyManagerInterface.php, line 27
Class
- GroupHierarchyManagerInterface
- An interface for the group hierarchy manager.
Namespace
Drupal\ggroupCode
public function removeSubgroup(GroupContentInterface $group_content);