system-admin-index.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/admin/system-admin-index.html.twig
- 9 core/themes/stable/templates/admin/system-admin-index.html.twig
- 9 core/modules/system/templates/system-admin-index.html.twig
- 8.9.x core/themes/stable/templates/admin/system-admin-index.html.twig
- 8.9.x core/modules/system/templates/system-admin-index.html.twig
- 10 core/themes/stable9/templates/admin/system-admin-index.html.twig
- 10 core/modules/system/templates/system-admin-index.html.twig
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:
- blocks: A list of administrative blocks, rendered through admin-block.html.twig.
See also
template_preprocess_system_admin_index()
1 theme call to system-admin-index.html.twig
- AdminController::index in core/
modules/ system/ src/ Controller/ AdminController.php - Prints a listing of admin tasks, organized by module.
File
-
core/
themes/ stable9/ templates/ admin/ system-admin-index.html.twig
View source
- {#
- /**
- * @file
- * 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:
- * - blocks: A list of administrative blocks, rendered
- * through admin-block.html.twig.
- *
- * @see template_preprocess_system_admin_index()
- */
- #}
- <div class="admin clearfix">
- {{ system_compact_link }}
- {% for position, blocks in containers %}
- <div class="{{ position }} clearfix">
- {% for block in blocks %}
- {{ block }}
- {% endfor %}
- </div>
- {% endfor %}
- </div>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.