You are here

function nodehierarchy_view_children in Node Hierarchy 7.4

Same name and namespace in other branches
  1. 5 nodehierarchy.module \nodehierarchy_view_children()
  2. 6.3 nodehierarchy.module \nodehierarchy_view_children()
  3. 6 nodehierarchy.module \nodehierarchy_view_children()
  4. 6.2 nodehierarchy.module \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
Implements hook_menu().

File

./nodehierarchy.admin.inc, line 301
Admin functions for Node Hierarchy

Code

function nodehierarchy_view_children($node) {
  drupal_set_title(t('Children of %t', array(
    '%t' => $node->title,
  )), PASS_THROUGH);
  nodehierarchy_set_breadcrumbs($node, TRUE);
  $out = drupal_get_form('nodehierarchy_children_form', $node);
  $out[] = theme('nodehierarchy_new_child_links', array(
    'node' => $node,
  ));
  return $out;
}