function _nodehierarchy_toggle_expand_url in Node Hierarchy 5
Same name and namespace in other branches
- 6 nodehierarchy.module \_nodehierarchy_toggle_expand_url()
Get a url which expands or contracts the given node in the site outline.
1 call to _nodehierarchy_toggle_expand_url()
- nodehierarchy_get_node_children_list in ./
nodehierarchy.module - Display a list of nodes with nodehierarchy actions.
File
- ./
nodehierarchy.module, line 709 - A module to make nodes hierarchical.
Code
function _nodehierarchy_toggle_expand_url($nid) {
$path = isset($_GET['q']) ? $_GET['q'] : '';
return url($path, _nodehierarchy_toggle_expand_url_params($nid));
}