You are here

popup_onload.html.twig in Popup On Load 8

popup_onload.html.twig Default theme implementation to present Popup On Load data.

This template is used when viewing Popup On Load pages.

Available variables:

  • content: A list of content items. Use 'content' to print all content, or
  • attributes: HTML attributes for the container element.

File

templates/popup_onload.html.twig
View source
  1. {#
  2. /**
  3. * @file popup_onload.html.twig
  4. * Default theme implementation to present Popup On Load data.
  5. *
  6. * This template is used when viewing Popup On Load pages.
  7. *
  8. *
  9. * Available variables:
  10. * - content: A list of content items. Use 'content' to print all content, or
  11. * - attributes: HTML attributes for the container element.
  12. *
  13. * @see template_preprocess_popup_onload()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <div{{ attributes.addClass('popup-onload').setAttribute('id', 'popup-onload') }}>
  19. {% if content %}
  20. {{- content -}}
  21. {% endif %}
  22. </div>