function book_outline

book_outline($node)

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()

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!book!book.pages.inc/function/book_outline/7.x