maintenance-task-list.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/admin/maintenance-task-list.html.twig
- 9 core/themes/stable/templates/admin/maintenance-task-list.html.twig
- 9 core/modules/system/templates/maintenance-task-list.html.twig
- 10 core/themes/stable9/templates/admin/maintenance-task-list.html.twig
- 10 core/modules/system/templates/maintenance-task-list.html.twig
- 11.x core/themes/stable9/templates/admin/maintenance-task-list.html.twig
- 11.x core/modules/system/templates/maintenance-task-list.html.twig
Theme override for a list of maintenance tasks to perform.
Available variables:
- tasks: A list of maintenance tasks to perform. Each item in the list has
the following variables:
- item: The maintenance task.
- attributes: HTML attributes for the maintenance task.
- status: (optional) Text describing the status of the maintenance task, 'active' or 'done'.
2 theme calls to maintenance-task-list.html.twig
- DbUpdateController::updateTasksList in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Provides the update task list render array.
- install_display_output in core/
includes/ install.core.inc - Displays themed installer output and ends the page request.
File
-
core/
themes/ stable/ templates/ admin/ maintenance-task-list.html.twig
View source
- {#
- /**
- * @file
- * Theme override for a list of maintenance tasks to perform.
- *
- * Available variables:
- * - tasks: A list of maintenance tasks to perform. Each item in the list has
- * the following variables:
- * - item: The maintenance task.
- * - attributes: HTML attributes for the maintenance task.
- * - status: (optional) Text describing the status of the maintenance task,
- * 'active' or 'done'.
- */
- #}
- <h2 class="visually-hidden">{{ 'Installation tasks'|t }}</h2>
- <ol class="task-list">
- {% for task in tasks %}
- <li{{ task.attributes }}>
- {{ task.item }}
- {% if task.status %}<span class="visually-hidden"> ({{ task.status }})</span>{% endif %}
- </li>
- {% endfor %}
- </ol>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.