function nodehierarchy_view_children in Node Hierarchy 6.3
Same name and namespace in other branches
- 5 nodehierarchy.module \nodehierarchy_view_children()
- 6 nodehierarchy.module \nodehierarchy_view_children()
- 6.2 nodehierarchy.module \nodehierarchy_view_children()
- 7.4 nodehierarchy.admin.inc \nodehierarchy_view_children()
- 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 1078 - A module to make nodes hierarchical.
Code
function nodehierarchy_view_children($node) {
drupal_set_title(t('Children of %t', array(
'%t' => $node->title,
)));
nodehierarchy_set_breadcrumbs($node, TRUE);
$out = drupal_get_form('nodehierarchy_children_form', $node);
$out .= theme('nodehierarchy_new_child_links', $node);
return $out;
}