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
- 10 core/themes/stable9/templates/admin/system-admin-index.html.twig
- 10 core/modules/system/templates/system-admin-index.html.twig
- 11.x core/themes/stable9/templates/admin/system-admin-index.html.twig
- 11.x core/modules/system/templates/system-admin-index.html.twig
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:
- 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/
modules/ system/ templates/ system-admin-index.html.twig
View source
- {#
- /**
- * @file
- * 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:
- * - blocks: A list of administrative blocks, rendered
- * through admin-block.html.twig.
- *
- * @see template_preprocess_system_admin_index()
- *
- * @ingroup themeable
- */
- #}
- <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>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.