Same filename in this branch
  1. 10 core/modules/system/templates/admin-page.html.twig
  2. 10 core/themes/claro/templates/admin/admin-page.html.twig
  3. 10 core/themes/stable9/templates/admin/admin-page.html.twig
Same filename and directory in other branches
  1. 8.9.x core/modules/system/templates/admin-page.html.twig
  2. 9 core/modules/system/templates/admin-page.html.twig

Default theme implementation for an administrative page.

Available variables:

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

    • blocks: A list of blocks within a container.

See also

template_preprocess_admin_page()

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: A 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