Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

status-report-counter.html.twig

Same filename in this branch
  1. 11.1.x core/themes/claro/templates/status-report-counter.html.twig
  2. 11.1.x core/modules/system/templates/status-report-counter.html.twig

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/stable9/templates/admin/status-report-counter.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for the status report counter.
  5. *
  6. * Available variables:
  7. * - amount: The number shown on counter.
  8. * - text: The text shown on counter.
  9. * - severity: The severity of the counter.
  10. */
  11. #}
  12. <span class="system-status-counter__status-icon system-status-counter__status-icon--{{ severity }}"></span>
  13. <span>{{ amount }} {{ text }}</span>
  14. <a href="#{{ severity }}"><span class="visually-hidden">{{ text }} </span>{{ 'Details'|t }}</a>

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal