contact-popup-block.html.twig in Contact Form Popup 8
Theme for contact_popup_block.
Available variables:
- link: Link object to the contact form.
- contact_form: the contact_form entity
1 theme call to contact-popup-block.html.twig
- ContactPopupBlock::build in src/
Plugin/ Block/ ContactPopupBlock.php - Builds and returns the renderable array for this block plugin.
File
templates/contact-popup-block.html.twigView source
- {#
- /**
- * @file
- * Theme for contact_popup_block.
- *
- * Available variables:
- * - link: Link object to the contact form.
- * - contact_form: the contact_form entity
- */
- #}
- {% if link -%}
- <div> {{ link }} </div>
- {%- endif %}