You are here

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

Default theme implementation 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/modules/system/templates/system-admin-index.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation 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. * @ingroup themeable
  16. */
  17. #}
  18. <div class="admin clearfix">
  19. {{ system_compact_link }}
  20. {% for position, blocks in containers %}
  21. <div class="{{ position }} clearfix">
  22. {% for block in blocks %}
  23. {{ block }}
  24. {% endfor %}
  25. </div>
  26. {% endfor %}
  27. </div>

Related topics