public function GroupGraphStorageInterface::removeEdge in Subgroup (Graph) 1.0.x
Removes the relationship between the parent group and the child group.
The child group will no longer be a child of the parent group. Inferred relationships based on existing relationships to the parent group will also be removed.
Parameters
int $parent_group_id: The ID of the parent group.
int $child_group_id: The ID of the child group.
1 method overrides GroupGraphStorageInterface::removeEdge()
- SqlGroupGraphStorage::removeEdge in src/
Graph/ SqlGroupGraphStorage.php - Removes the relationship between the parent group and the child group.
File
- src/
Graph/ GroupGraphStorageInterface.php, line 48
Class
- GroupGraphStorageInterface
- An interface for defining the storage of group relationships as a graph.
Namespace
Drupal\ggroup\GraphCode
public function removeEdge($parent_group_id, $child_group_id);