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.
See also
File
templates/popup_onload.html.twigView source
- {#
- /**
- * @file 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.
- *
- * @see template_preprocess_popup_onload()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes.addClass('popup-onload').setAttribute('id', 'popup-onload') }}>
- {% if content %}
- {{- content -}}
- {% endif %}
- </div>