function template_preprocess_book_node_export_html
Same name and namespace in other branches
- 7.x drupal-7.x/modules/book/book.module \template_preprocess_book_node_export_html()
Process variables for book-node-export-html.tpl.php.
The $variables array contains the following arguments:
- $node
- $children
See also
Archivo
- drupal-6.x/
modules/ book/ book.module, line 958 - Allows users to structure the pages of a site in a hierarchy or outline.
Código
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;
}