status-report.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/admin/status-report.html.twig
- 9 core/themes/stable/templates/admin/status-report.html.twig
- 9 core/modules/system/templates/status-report.html.twig
- 8.9.x core/themes/stable/templates/admin/status-report.html.twig
- 8.9.x core/modules/system/templates/status-report.html.twig
- 10 core/themes/stable9/templates/admin/status-report.html.twig
- 10 core/modules/system/templates/status-report.html.twig
Default theme implementation for the status report.
Available variables:
- grouped_requirements: Contains grouped requirements.
Each group contains:
- title: The title of the group.
- type: The severity of the group.
- items: The requirement instances.
Each requirement item contains:
- title: The title of the requirement.
- value: (optional) The requirement's status.
- description: (optional) The requirement's description.
- severity_title: The title of the severity.
- severity_status: Indicates the severity status.
- requirements: Ungrouped requirements
File
-
core/
modules/ system/ templates/ status-report.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for the status report.
- *
- * Available variables:
- * - grouped_requirements: Contains grouped requirements.
- * Each group contains:
- * - title: The title of the group.
- * - type: The severity of the group.
- * - items: The requirement instances.
- * Each requirement item contains:
- * - title: The title of the requirement.
- * - value: (optional) The requirement's status.
- * - description: (optional) The requirement's description.
- * - severity_title: The title of the severity.
- * - severity_status: Indicates the severity status.
- * - requirements: Ungrouped requirements
- *
- * @ingroup themeable
- */
- #}
- {% for group in grouped_requirements %}
- <h3 id="{{ group.type }}">{{ group.title }}</h3>
- {% for requirement in group.items %}
- <details>
- <summary role="button">
- {% if requirement.severity_title %}
- <span class="visually-hidden">{{ requirement.severity_title }}</span>
- {% endif %}
- {{ requirement.title }}
- </summary>
- {{ requirement.value }}
- {% if requirement.description %}
- <div>{{ requirement.description }}</div>
- {% endif %}
- </details>
- {% endfor %}
- {% endfor %}
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.