You are here

site_setting_entity.html.twig in Site Settings and Labels 8

site_setting_entity.html.twig Default theme implementation to present Site Setting data.

This template is used when viewing Site Setting pages.

Available variables:

  • content: A list of content items. Use 'content' to print all content, or
  • attributes: HTML attributes for the container element.

File

templates/site_setting_entity.html.twig
View source
  1. {#
  2. /**
  3. * @file site_setting_entity.html.twig
  4. * Default theme implementation to present Site Setting data.
  5. *
  6. * This template is used when viewing Site Setting pages.
  7. *
  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_site_setting_entity()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <div{{ attributes.addClass('site_setting_entity') }}>
  19. {% if content %}
  20. {{- content -}}
  21. {% endif %}
  22. </div>