admin-page.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
Theme override for an administrative page.
Available variables:
- system_compact_link: Themed link to toggle compact view.
- containers: A list of administrative blocks keyed by position: left or
right. Contains:
- blocks: A list of blocks within a container.
See also
1 theme call to admin-page.html.twig
- SystemController::overview in core/
modules/ system/ src/ Controller/ SystemController.php - Provide the administration overview page.
File
core/themes/stable/templates/admin/admin-page.html.twigView source
- {#
- /**
- * @file
- * Theme override for an administrative page.
- *
- * Available variables:
- * - system_compact_link: Themed link to toggle compact view.
- * - containers: A list of administrative blocks keyed by position: left or
- * right. Contains:
- * - blocks: A list of blocks within a container.
- *
- * @see template_preprocess_admin_page()
- */
- #}
-
- <div class="clearfix">
- {{ system_compact_link }}
- {% for container in containers %}
- <div class="layout-column layout-column--half">
- {% for block in container.blocks %}
- {{ block }}
- {% endfor %}
- </div>
- {% endfor %}
- </div>