eu_cookie_compliance_withdraw.html.twig in EU Cookie Compliance (GDPR Compliance) 8
This is a template file for the cookie consent withdraw button.
When overriding this template it is important to note that jQuery will use the following classes to assign actions to the button:
eu-cookie-withdraw-button - withdraw button eu-cookie-withdraw-tab - tab that reveals the withdraw interface
Variables available:
- message: Contains the text that will be displayed within the banner.
- withdraw_tab_button_label: Label for the tab that sits at the window edge.
- withdraw_action_button_label: Label for the withdraw button.
1 theme call to eu_cookie_compliance_withdraw.html.twig
- eu_cookie_compliance_build_data in ./
eu_cookie_compliance.module - Builds the data structure for the cookie banner.
File
templates/eu_cookie_compliance_withdraw.html.twigView source
- {#
- /**
- * @file
- * This is a template file for the cookie consent withdraw button.
- *
- * When overriding this template it is important to note that jQuery will use
- * the following classes to assign actions to the button:
- *
- * eu-cookie-withdraw-button - withdraw button
- * eu-cookie-withdraw-tab - tab that reveals the withdraw interface
- *
- * Variables available:
- * - message: Contains the text that will be displayed within the banner.
- * - withdraw_tab_button_label: Label for the tab that sits at the window edge.
- * - withdraw_action_button_label: Label for the withdraw button.
- */
- #}
- <button type="button" class="eu-cookie-withdraw-tab">{{ withdraw_tab_button_label }}</button>
- <div role="alertdialog" aria-labelledby="popup-text" class="eu-cookie-withdraw-banner">
- <div class="popup-content info eu-cookie-compliance-content">
- <div id="popup-text" class="eu-cookie-compliance-message">
- {{ message }}
- </div>
- <div id="popup-buttons" class="eu-cookie-compliance-buttons">
- <button type="button" class="eu-cookie-withdraw-button">{{ withdraw_action_button_label }}</button>
- </div>
- </div>
- </div>