You are here

system-admin-index.html.twig in Drupal 10

Theme override for the admin index page.

Available variables:

  • system_compact_link: Themed link to toggle compact view.
  • containers: A list of administrative containers keyed by position: left or right. Each container in the list contains:

File

core/themes/stable9/templates/admin/system-admin-index.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for the admin index page.
  5. *
  6. * Available variables:
  7. * - system_compact_link: Themed link to toggle compact view.
  8. * - containers: A list of administrative containers keyed by position: left or
  9. * right. Each container in the list contains:
  10. * - blocks: A list of administrative blocks, rendered
  11. * through admin-block.html.twig.
  12. *
  13. * @see template_preprocess_system_admin_index()
  14. */
  15. #}
  16. <div class="admin clearfix">
  17. {{ system_compact_link }}
  18. {% for position, blocks in containers %}
  19. <div class="{{ position }} clearfix">
  20. {% for block in blocks %}
  21. {{ block }}
  22. {% endfor %}
  23. </div>
  24. {% endfor %}
  25. </div>