1.20.x book.pages.inc book_outline(Node $node)

Page callback: Shows the outline form for a single node.

Parameters

Node $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 36
User page callbacks for the book module.

Code

function book_outline(Node $node) {
  backdrop_set_title($node->title);
  return backdrop_get_form('book_outline_form', $node);
}