REQUIREMENT_ERROR

Same name in other branches
  1. 7.x includes/install.inc \REQUIREMENT_ERROR
  2. 9 core/includes/install.inc \REQUIREMENT_ERROR
  3. 8.9.x core/includes/install.inc \REQUIREMENT_ERROR
  4. 11.x core/includes/install.inc \REQUIREMENT_ERROR

Requirement severity -- Error condition; abort installation.

29 uses of REQUIREMENT_ERROR
DbUpdateController::handle in core/modules/system/src/Controller/DbUpdateController.php
Returns a database update page.
drupal_check_module in core/includes/install.inc
Checks a module's requirements.
drupal_verify_profile in core/includes/install.inc
Verifies that all dependencies are met for a given installation profile.
experimental_module_requirements_test_requirements in core/modules/system/tests/modules/experimental_module_requirements_test/experimental_module_requirements_test.install
Implements hook_requirements().
hook_requirements in core/lib/Drupal/Core/Extension/module.api.php
Check installation requirements and do status reporting.

... See full list

File

core/includes/install.inc, line 35

Code

const REQUIREMENT_ERROR = 2;

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