book_content

  1. drupal
    1. 4.7
    2. 5 book.module
Versions
4.7 – 5 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.

Code

modules/book.module, line 440

<?php
function book_content($node, $teaser = FALSE) {
  // Return the page body.
  return node_prepare($node, $teaser);
}
?>