status-report-counter.html.twig in Drupal 10
Same filename in this branch
- 10 core/themes/claro/templates/status-report-counter.html.twig
- 10 core/themes/seven/templates/status-report-counter.html.twig
- 10 core/modules/system/templates/status-report-counter.html.twig
- 10 core/themes/stable9/templates/admin/status-report-counter.html.twig
- 10 core/themes/stable/templates/admin/status-report-counter.html.twig
Same filename and directory in other branches
Theme override for the status report counter.
Available variables:
- amount: The number shown on counter.
- text: The text shown on counter.
- severity: The severity of the counter.
2 theme calls to status-report-counter.html.twig
- ReviewForm::buildForm in core/
modules/ migrate_drupal_ui/ src/ Form/ ReviewForm.php - Form constructor.
- StatusReportPage::preRenderCounters in core/
modules/ system/ src/ Element/ StatusReportPage.php - #pre_render callback to create counter elements.
File
core/themes/stable/templates/admin/status-report-counter.html.twigView source
- {#
- /**
- * @file
- * Theme override for the status report counter.
- *
- * Available variables:
- * - amount: The number shown on counter.
- * - text: The text shown on counter.
- * - severity: The severity of the counter.
- *
- */
- #}
- {{ amount }} {{ text }}
- <a href="#{{ severity }}"><span class="visually-hidden">{{ text }} </span>Details</a>