function book_node_view
Implements hook_node_view().
File
- 
              modules/
book/ book.module, line 887  
Code
function book_node_view($node, $view_mode) {
  if ($view_mode == 'full') {
    if (!empty($node->book['bid']) && empty($node->in_preview)) {
      $node->content['book_navigation'] = array(
        '#markup' => theme('book_navigation', array(
          'book_link' => $node->book,
        )),
        '#weight' => 100,
      );
    }
  }
  if ($view_mode != 'rss') {
    book_node_view_link($node, $view_mode);
  }
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.