system-admin-index.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
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
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.twigView 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>