book_content

5 book.module book_content($node, $teaser = FALSE)

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);
}
Login or register to post comments