You are here

admin-page.html.twig in Drupal 10

Theme override 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/themes/claro/templates/admin/admin-page.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override 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. #}
  15. {{ system_compact_link }}
  16. <div class="layout-row clearfix">
  17. {% for container in containers %}
  18. <div class="layout-column layout-column--half">
  19. {% for block in container.blocks %}
  20. {{ block }}
  21. {% endfor %}
  22. </div>
  23. {% endfor %}
  24. </div>