template_preprocess_book_export_html

Definition

template_preprocess_book_export_html(&$variables)
modules/book/book.module, line 881

Description

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

The $variables array contains the following arguments:

  • $title
  • $contents
  • $depth

See also

book-export-html.tpl.php

Code

<?php
function template_preprocess_book_export_html(&$variables) {
  global $base_url, $language;

  $variables['title'] = check_plain($variables['title']);
  $variables['base_url'] = $base_url;
  $variables['language'] = $language;
  $variables['language_rtl'] = (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL) ? TRUE : FALSE;
  $variables['head'] = drupal_get_html_head();
}
?>
 
 

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.