8 uses of REQUIREMENT_OK in Drupal 10
- drupal_requirements_severity in core/
includes/ install.inc - Extracts the highest severity from the requirements array.
- locale_requirements in core/
modules/ locale/ locale.install - Implements hook_requirements().
- mysql_requirements in core/
modules/ mysql/ mysql.install - Implements hook_requirements().
- StatusReport::getSeverities in core/
lib/ Drupal/ Core/ Render/ Element/ StatusReport.php - Gets the severities.
- StatusReport::preRenderGroupRequirements in core/
lib/ Drupal/ Core/ Render/ Element/ StatusReport.php - #pre_render callback to group requirements.
- StatusReportPage::preRenderCounters in core/
modules/ system/ src/ Element/ StatusReportPage.php - #pre_render callback to create counter elements.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- UpdateScriptTest::testRequirements in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdateScriptTest.php - Tests that requirements warnings and errors are correctly displayed.