template_preprocess_book_node_export_html

Versions
6 – 7
template_preprocess_book_node_export_html(&$variables)

Process variables for book-node-export-html.tpl.php.

The $variables array contains the following arguments:

  • $node
  • $children

See also

book-node-export-html.tpl.php

Code

modules/book/book.module, line 958

<?php
function template_preprocess_book_node_export_html(&$variables) {
  $variables['depth'] = $variables['node']->book['depth'];
  $variables['title'] = check_plain($variables['node']->title);
  $variables['content'] = $variables['node']->body;
}
?>
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.