function nodehierarchy_node_delete_submit in Node Hierarchy 5
Same name and namespace in other branches
- 6.3 nodehierarchy.module \nodehierarchy_node_delete_submit()
- 6 nodehierarchy.module \nodehierarchy_node_delete_submit()
- 6.2 nodehierarchy.module \nodehierarchy_node_delete_submit()
- 7.2 nodehierarchy.module \nodehierarchy_node_delete_submit()
Submit function for the node delete confirm form.
File
- ./
nodehierarchy.module, line 437 - A module to make nodes hierarchical.
Code
function nodehierarchy_node_delete_submit($form_id, $form_values) {
if ($form_values['confirm'] && $form_values['nodehierarchy_delete_children']) {
nodehierarchy_delete_children($form_values['nid']);
}
}