You are here

function book_outline in Drupal 7

Same name and namespace in other branches
  1. 4 modules/book.module \book_outline()
  2. 5 modules/book/book.module \book_outline()
  3. 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

book_menu()

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);
}