REQUIREMENT_OK

Same name and namespace in other branches
  1. 7.x includes/install.inc \REQUIREMENT_OK
  2. 9 core/includes/install.inc \REQUIREMENT_OK
  3. 8.9.x core/includes/install.inc \REQUIREMENT_OK
  4. 10 core/includes/install.inc \REQUIREMENT_OK

Requirement severity -- Requirement successfully met.

Deprecated

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::OK instead.

See also

https://www.drupal.org/node/3410939

3 uses of REQUIREMENT_OK
LegacyRequirementSeverityTest::requirementProvider in core/tests/Drupal/KernelTests/Core/Extension/LegacyRequirementSeverityTest.php
Data provider for requirement helper test.
mysql_requirements in core/modules/mysql/mysql.install
Implements hook_requirements().
StatusReportTest::testPreRenderGroupRequirements in core/tests/Drupal/KernelTests/Core/Render/Element/StatusReportTest.php
Tests the status report element.

File

core/includes/install.inc, line 37

Code

const REQUIREMENT_OK = 0;

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