status-report-page.html.twig

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

Theme override for the status report page.

Available variables:

  • counters: The list of counter elements.
  • general_info: A render array to create general info element.
  • requirements: A render array to create requirements table.

See also

template_preprocess_status_report()

2 theme calls to status-report-page.html.twig
ReviewForm::buildForm in core/modules/migrate_drupal_ui/src/Form/ReviewForm.php
Form constructor.
StatusReportPage::getInfo in core/modules/system/src/Element/StatusReportPage.php
Returns the element properties for this element.

File

core/themes/stable/templates/admin/status-report-page.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for the status report page.
  5. *
  6. * Available variables:
  7. * - counters: The list of counter elements.
  8. * - general_info: A render array to create general info element.
  9. * - requirements: A render array to create requirements table.
  10. *
  11. * @see template_preprocess_status_report()
  12. */
  13. #}
  14. {% if counters|length == 3 %}
  15. {% set element_width_class = ' system-status-report-counters__item--third-width' %}
  16. {% elseif counters|length == 2 %}
  17. {% set element_width_class = ' system-status-report-counters__item--half-width' %}
  18. {% endif %}
  19. <div class="system-status-report-counters">
  20. {% for counter in counters %}
  21. <div class="system-status-report-counters__item{{ element_width_class }}">
  22. {{ counter }}
  23. </div>
  24. {% endfor %}
  25. </div>
  26. {{ general_info }}
  27. {{ requirements }}

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