template_preprocess_book_node_export_html

Definition

template_preprocess_book_node_export_html(&$variables)
modules/book/book.module, line 958

Description

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

<?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;
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.