data-policy-data-policy.html.twig in Data Policy 8
data-policy-data-policy.html.twig
Default theme implementation to present Data policy data.
This template is used when viewing Data policy page.
Available variables:
- content: A list of content items. Use 'content' to print all content, or
- attributes: HTML attributes for the container element.
See also
template_preprocess_data_policy_data_policy()
1 theme call to data-policy-data-policy.html.twig
- DataPolicy::entityOverviewPage in src/
Controller/ DataPolicy.php - Show description of data policy.
File
templates/data-policy-data-policy.html.twigView source
- {#
- /**
- * @file data-policy-data-policy.html.twig
- *
- * Default theme implementation to present Data policy data.
- *
- * This template is used when viewing Data policy page.
- *
- * 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_data_policy_data_policy()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes.addClass('data-policy') }}>
- {% if content %}
- {{- content -}}
- {% endif %}
- </div>