You are here

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()

File

templates/data-policy-data-policy.html.twig
View source
  1. {#
  2. /**
  3. * @file data-policy-data-policy.html.twig
  4. *
  5. * Default theme implementation to present Data policy data.
  6. *
  7. * This template is used when viewing Data policy page.
  8. *
  9. * Available variables:
  10. * - content: A list of content items. Use 'content' to print all content, or
  11. * - attributes: HTML attributes for the container element.
  12. *
  13. * @see template_preprocess_data_policy_data_policy()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <div{{ attributes.addClass('data-policy') }}>
  19. {% if content %}
  20. {{- content -}}
  21. {% endif %}
  22. </div>