function template_preprocess_book_node_export_html

template_preprocess_book_node_export_html(&$variables)

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

Parameters

$variables: An associative array containing the following keys:

  • node
  • children

See also

book-node-export-html.tpl.php

File

modules/book/book.module, line 1298
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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!book!book.module/function/template_preprocess_book_node_export_html/7.x