update-report.html.twig
Same filename in this branch
Same filename in other branches
- 8.9.x core/themes/stable/templates/admin/update-report.html.twig
- 8.9.x core/modules/update/templates/update-report.html.twig
- 10 core/themes/stable9/templates/admin/update-report.html.twig
- 10 core/modules/update/templates/update-report.html.twig
- 11.x core/themes/stable9/templates/admin/update-report.html.twig
- 11.x core/modules/update/templates/update-report.html.twig
Theme override for the project status report.
Available variables:
- last_checked: Themed last time update data was checked.
- no_updates_message: Message when there are no project updates.
- project_types: A list of project types.
- label: The project type label.
- table: The project status table.
See also
template_preprocess_update_report()
1 theme call to update-report.html.twig
- UpdateController::updateStatus in core/
modules/ update/ src/ Controller/ UpdateController.php - Returns a page about the update status of projects.
File
-
core/
themes/ stable9/ templates/ admin/ update-report.html.twig
View source
- {#
- /**
- * @file
- * Theme override for the project status report.
- *
- * Available variables:
- * - last_checked: Themed last time update data was checked.
- * - no_updates_message: Message when there are no project updates.
- * - project_types: A list of project types.
- * - label: The project type label.
- * - table: The project status table.
- *
- * @see template_preprocess_update_report()
- */
- #}
- {{ last_checked }}
-
- {% for project_type in project_types %}
- <h3>{{ project_type.label }}</h3>
- {{ project_type.table }}
- {% else %}
- <p>{{ no_updates_message }}</p>
- {% endfor %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.