book-node-export-html.html.twig in Drupal 10
Same filename in this branch
- 10 core/modules/book/templates/book-node-export-html.html.twig
- 10 core/themes/starterkit_theme/templates/content/book-node-export-html.html.twig
- 10 core/themes/classy/templates/content/book-node-export-html.html.twig
- 10 core/themes/olivero/templates/content/book-node-export-html.html.twig
- 10 core/themes/stable9/templates/content/book-node-export-html.html.twig
- 10 core/themes/stable/templates/content/book-node-export-html.html.twig
- 10 core/themes/claro/templates/classy/content/book-node-export-html.html.twig
- 10 core/themes/seven/templates/classy/content/book-node-export-html.html.twig
- 10 core/themes/bartik/templates/classy/content/book-node-export-html.html.twig
- 10 core/profiles/demo_umami/themes/umami/templates/classy/content/book-node-export-html.html.twig
Same filename and directory in other branches
Theme override for a single node in a printer-friendly outline.
Available variables:
- node: Fully loaded node.
- depth: Depth of the current node inside the outline.
- title: Node title.
- content: Node content.
- children: All the child nodes recursively rendered through this file.
See also
1 theme call to book-node-export-html.html.twig
- BookExport::bookNodeExport in core/
modules/ book/ src/ BookExport.php - Generates printer-friendly HTML for a node.
File
core/themes/starterkit_theme/templates/content/book-node-export-html.html.twigView source
- {#
- /**
- * @file
- * Theme override for a single node in a printer-friendly outline.
- *
- * Available variables:
- * - node: Fully loaded node.
- * - depth: Depth of the current node inside the outline.
- * - title: Node title.
- * - content: Node content.
- * - children: All the child nodes recursively rendered through this file.
- *
- * @see template_preprocess_book_node_export_html()
- */
- #}
- <article id="node-{{ node.id }}" class="section-{{ depth }}">
- <h1 class="book-heading">{{ title }}</h1>
- {{ content }}
- {{ children }}
- </article>