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.
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/claro/templates/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. #}
  12. {% if counters|length == 3 %}
  13. {% set element_width_class = ' system-status-report-counters__item--third-width' %}
  14. {% elseif counters|length == 2 %}
  15. {% set element_width_class = ' system-status-report-counters__item--half-width' %}
  16. {% endif %}
  17. <div class="system-status-report-counters">
  18. {% for counter in counters %}
  19. <div class="card system-status-report-counters__item{{ element_width_class }}">
  20. {{ counter }}
  21. </div>
  22. {% endfor %}
  23. </div>
  24. {{ general_info }}
  25. {{ requirements }}

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