REQUIREMENT_ERROR
Same name and namespace in other branches
- 10 core/includes/install.inc \REQUIREMENT_ERROR
- 9 core/includes/install.inc \REQUIREMENT_ERROR
- 8.9.x core/includes/install.inc \REQUIREMENT_ERROR
- 7.x includes/install.inc \REQUIREMENT_ERROR
Requirement severity -- Error condition; abort installation.
Deprecated
in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::Error instead.
See also
https://www.drupal.org/node/3410939
2 uses of REQUIREMENT_ERROR
- LegacyRequirementSeverityTest::requirementProvider in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ LegacyRequirementSeverityTest.php - Data provider for requirement helper test.
- RequirementSeverityTest::testConvertLegacySeverities in core/
tests/ Drupal/ Tests/ Core/ Extension/ Requirement/ RequirementSeverityTest.php - Tests convert legacy severities.
File
-
core/
includes/ install.inc, line 57
Code
const REQUIREMENT_ERROR = 2;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.