function book_outline in Drupal 7
Same name and namespace in other branches
- 4 modules/book.module \book_outline()
- 5 modules/book/book.module \book_outline()
- 6 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);
}