book-node-export-html.html.twig in Zircon Profile 8
Same filename in this branch
Same filename and directory in other branches
Default theme implementation 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/modules/book/templates/book-node-export-html.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation 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()
- *
- * @ingroup themeable
- */
- #}
- <article>
- <h1>{{ title }}</h1>
- {{ content }}
- {{ children }}
- </article>