You are here

admin-page.html.twig in Zircon Profile 8

Default theme implementation for an administrative page.

Available variables:

  • system_compact_link: Themed link to toggle compact view.
  • containers: An list of administrative blocks keyed by position: left or right. Contains:

    • blocks: A list of blocks within a container.

File

core/modules/system/templates/admin-page.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for an administrative page.
  5. *
  6. * Available variables:
  7. * - system_compact_link: Themed link to toggle compact view.
  8. * - containers: An list of administrative blocks keyed by position: left or
  9. * right. Contains:
  10. * - blocks: A list of blocks within a container.
  11. *
  12. * @see template_preprocess_admin_page()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. <div class="clearfix">
  18. {{ system_compact_link }}
  19. {% for container in containers %}
  20. <div class="layout-column layout-column--half">
  21. {% for block in container.blocks %}
  22. {{ block }}
  23. {% endfor %}
  24. </div>
  25. {% endfor %}
  26. </div>

Related topics