update-report.html.twig

Same filename in this branch
  1. 11.x core/themes/stable9/templates/admin/update-report.html.twig
Same filename in other branches
  1. 9 core/themes/stable9/templates/admin/update-report.html.twig
  2. 9 core/themes/stable/templates/admin/update-report.html.twig
  3. 9 core/modules/update/templates/update-report.html.twig
  4. 8.9.x core/themes/stable/templates/admin/update-report.html.twig
  5. 8.9.x core/modules/update/templates/update-report.html.twig
  6. 10 core/themes/stable9/templates/admin/update-report.html.twig
  7. 10 core/modules/update/templates/update-report.html.twig

Default theme implementation 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/modules/update/templates/update-report.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the project status report.
  5. *
  6. * Available variables:
  7. * - last_checked: Themed last time update data was checked.
  8. * - no_updates_message: Message when there are no project updates.
  9. * - project_types: A list of project types.
  10. * - label: The project type label.
  11. * - table: The project status table.
  12. *
  13. * @see template_preprocess_update_report()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. {{ last_checked }}
  19. {% for project_type in project_types %}
  20. <h3>{{ project_type.label }}</h3>
  21. {{ project_type.table }}
  22. {% else %}
  23. <p>{{ no_updates_message }}</p>
  24. {% endfor %}

Related topics


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.