template_preprocess_book_node_export_html(&$variables)
Prepares variables for single node export templates.
Default template: book-node-export-html.html.twig.
array $variables: An associative array containing the following keys:
function template_preprocess_book_node_export_html(&$variables) { $variables['depth'] = $variables['node']->book['depth']; $variables['title'] = $variables['node']->label(); }
© 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/core!modules!book!book.module/function/template_preprocess_book_node_export_html/8.1.x