printable-footer.html.twig in Printer and PDF versions for Drupal 8+ 2.x
Same filename in this branch
Same filename and directory in other branches
Default theme implementation for printer friendly version of entities.
Available variables:
- footer_links: Contains all the links present in the page.
- source_url: Contains the source url of page.
See also
2 theme calls to printable-footer.html.twig
- PrintableFormatBase::buildContent in src/
Plugin/ PrintableFormatBase.php - Build a render array of the content, wrapped in the printable theme.
- PrintableFormatBase::buildContent in src/
Plugin/ PrintableFormatBase.php - Build a render array of the content, wrapped in the printable theme.
File
templates/printable-footer.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for printer friendly version of entities.
- *
- * Available variables:
- * - footer_links: Contains all the links present in the page.
- * - source_url: Contains the source url of page.
- *
- * @see template_preprocess_printable_footer()
- *
- * @ingroup themeable
- */
- #}
- <hr/>
- <strong>Source URL:</strong> <i>{{ source_url }}</i>
- {% if footer_links %}
- <br/>
- <br/>
- <strong> List of links present in page </strong>
- <ul>
- {% for link in footer_links %}
- <li>{{ link }}</li>
- {% endfor %}
- </ul>
- {% endif %}