You are here

function book_content in Drupal 5

Same name and namespace in other branches
  1. 4 modules/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/book.module, line 417
Allows users to collaboratively author a book.

Code

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

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