Same name and namespace in other branches
- 4.6.x modules/book.module \book_outline()
- 4.7.x modules/book.module \book_outline()
- 5.x modules/book/book.module \book_outline()
- 6.x modules/book/book.pages.inc \book_outline()
Menu callback: Shows the outline form for a single node.
Parameters
$node: The book node for which to show the outline.
Return value
string A HTML-formatted string with the outline form for a single node.
See also
1 string reference to 'book_outline'
- book_menu in modules/
book/ book.module - Implements hook_menu().
File
- modules/
book/ book.pages.inc, line 115 - User page callbacks for the book module.
Code
function book_outline($node) {
drupal_set_title($node->title);
return drupal_get_form('book_outline_form', $node);
}