Drupal::CORE_COMPATIBILITY

Same name in other branches
  1. 9 core/lib/Drupal.php \Drupal::CORE_COMPATIBILITY
  2. 10 core/lib/Drupal.php \Drupal::CORE_COMPATIBILITY
  3. 11.x core/lib/Drupal.php \Drupal::CORE_COMPATIBILITY

Core API compatibility.

5 uses of Drupal::CORE_COMPATIBILITY
Dependency::getConstraint in core/lib/Drupal/Core/Extension/Dependency.php
Gets the Constraint object.
ModuleDependencyMessageTrait::checkDependencyMessage in core/modules/system/src/ModuleDependencyMessageTrait.php
Provides messages for missing modules or incompatible dependencies.
SingleVisibleProfileTest::prepareEnvironment in core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php
Prepares the current environment for running the test.
system_requirements in core/modules/system/system.install
Implements hook_requirements().
update_get_update_list in core/includes/update.inc
Returns a list of all the pending database updates.

File

core/lib/Drupal.php, line 90

Class

Drupal
Static Service Container wrapper.

Code

const CORE_COMPATIBILITY = '8.x';

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