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: An 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/claro/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: An list of administrative blocks keyed by position: left or
- * right. Contains:
- * - blocks: A list of blocks within a container.
- *
- * @see template_preprocess_admin_page()
- */
- #}
-
- {{ system_compact_link }}
- <div class="layout-row clearfix">
- {% for container in containers %}
- <div class="layout-column layout-column--half">
- {% for block in container.blocks %}
- {{ block }}
- {% endfor %}
- </div>
- {% endfor %}
- </div>