function _taxonomy_edge_detach_subtree in Taxonomy Edge 6
Same name and namespace in other branches
- 8 taxonomy_edge.module \_taxonomy_edge_detach_subtree()
- 7 taxonomy_edge.module \_taxonomy_edge_detach_subtree()
Detach children from parents in $tids (delete ancestors)
1 call to _taxonomy_edge_detach_subtree()
- _taxonomy_edge_move_subtree in ./
taxonomy_edge.module - Detach path and children from current parent and attach to new parents
File
- ./
taxonomy_edge.module, line 393 - Selecting all children of a given taxonomy term can be a pain. This module makes it easier to do this, by maintaining a complete list of edges for each term using the adjecency matrix graph theory.
Code
function _taxonomy_edge_detach_subtree($vid, $tids) {
return _taxonomy_edge_delete_subtree($vid, $tids, 1);
}