You are here

function nodehierarchy_view_children in Node Hierarchy 5

Same name and namespace in other branches
  1. 6.3 nodehierarchy.module \nodehierarchy_view_children()
  2. 6 nodehierarchy.module \nodehierarchy_view_children()
  3. 6.2 nodehierarchy.module \nodehierarchy_view_children()
  4. 7.4 nodehierarchy.admin.inc \nodehierarchy_view_children()
  5. 7.2 nodehierarchy.module \nodehierarchy_view_children()

Display the children tab.

1 string reference to 'nodehierarchy_view_children'
nodehierarchy_menu in ./nodehierarchy.module
Implementation of hook_menu().

File

./nodehierarchy.module, line 531
A module to make nodes hierarchical.

Code

function nodehierarchy_view_children($nid) {
  $node = node_load($nid);
  drupal_set_title(t('Children of %t', array(
    '%t' => $node->title,
  )));

  //nodehierarchy_set_breadcrumbs($node, TRUE);
  return _nodehierarchy_display_children_list($node);
}