cookiebot-blocked-element-placeholder.html.twig in Cookiebot - Cookie consent, Cookie monitoring and Cookie control 8
Cookiebot blocked message placeholder for elements like iframes which are disabled via data-src by cookiebot until consent is given.
Available variables:
- content: The message content.
- attributes: Wrapper attributes.
- inner_attributes: Inner wrapper attributes.
1 theme call to cookiebot-blocked-element-placeholder.html.twig
- cookiebot_page_attachments_alter in ./
cookiebot.module - Implements hook_page_attachments_alter().
File
templates/cookiebot-blocked-element-placeholder.html.twigView source
- {#
- /**
- * @file
- * Cookiebot blocked message placeholder for elements like iframes
- * which are disabled via data-src by cookiebot until consent is given.
- *
- * Available variables:
- * - content: The message content.
- * - attributes: Wrapper attributes.
- * - inner_attributes: Inner wrapper attributes.
- */
- #}
- {%
- set classes = [
- 'cookiebot',
- 'cookieconsent-optout-marketing'
- ]
- %}
- {%
- set inner_classes = [
- 'cookieconsent-optout-marketing__inner'
- ]
- %}
- <div{{attributes.addClass(classes)}}>
- <div{{inner_attributes.addClass(inner_classes)}}>
- {{ content }}
- </div>
- </div>