admin-page.html.twig
Same filename in this branch
Same filename in other branches
- 8.9.x core/themes/claro/templates/admin/admin-page.html.twig
- 8.9.x core/themes/stable/templates/admin/admin-page.html.twig
- 8.9.x core/modules/system/templates/admin-page.html.twig
- 10 core/themes/stable9/templates/admin/admin-page.html.twig
- 10 core/themes/claro/templates/admin/admin-page.html.twig
- 10 core/modules/system/templates/admin-page.html.twig
- 11.x core/themes/stable9/templates/admin/admin-page.html.twig
- 11.x core/themes/claro/templates/admin/admin-page.html.twig
- 11.x core/modules/system/templates/admin-page.html.twig
Default theme implementation 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
template_preprocess_admin_page()
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/
modules/ system/ templates/ admin-page.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation 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()
- *
- * @ingroup themeable
- */
- #}
-
- <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>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.