You are here

function _nodehierarchy_toggle_expand_url in Node Hierarchy 6

Same name and namespace in other branches
  1. 5 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 752

Code

function _nodehierarchy_toggle_expand_url($nid) {
  $path = isset($_GET['q']) ? $_GET['q'] : '';
  return url($path, array(
    'query' => _nodehierarchy_toggle_expand_url_params($nid),
  ));
}