book_content

Versions
4.6 – 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/book.module, line 417

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.