You are here

function book_content in Drupal 4

Same name and namespace in other branches
  1. 5 modules/book/book.module \book_content()

Returns the content of a given node. If $teaser if true, returns the teaser rather than full content. Displays the most recently approved revision of a node (if any) unless we have to display this page in the context of the moderation queue.

File

modules/book.module, line 439
Allows users to collaboratively author a book.

Code

function book_content($node, $teaser = FALSE) {

  // Return the page body.
  return node_prepare($node, $teaser);
}