template_preprocess_book_node_export_html

6 book.module template_preprocess_book_node_export_html(&$variables)
7 book.module template_preprocess_book_node_export_html(&$variables)
8 book.module template_preprocess_book_node_export_html(&$variables)

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

The $variables array contains the following elements:

  • node
  • children

See also

book-node-export-html.tpl.php

File

modules/book/book.module, line 1280
Allows users to create and organize related content in an outline.

Code

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']->rendered;
}
Login or register to post comments