REQUIREMENT_INFO

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

Requirement severity -- Informational message only.

Deprecated

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

See also

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

3 uses of REQUIREMENT_INFO
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.
StatusReportPageTest::testPeRenderCounters in core/modules/system/tests/src/Kernel/Element/StatusReportPageTest.php
Tests the status report page element.

File

core/includes/install.inc, line 27

Code

const REQUIREMENT_INFO = -1;

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