Drupal::VERSION

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

The current system version.

51 uses of Drupal::VERSION
AdminMetaTagTest::testMetaTag in core/modules/system/tests/src/Functional/System/AdminMetaTagTest.php
Verify that the meta tag HTML is generated correctly.
AdvisoryTestController::getPsaJson in core/modules/system/tests/modules/advisory_feed_test/src/Controller/AdvisoryTestController.php
Reads a JSON file and returns the contents as a Response.
ClientFactory::fromOptions in core/lib/Drupal/Core/Http/ClientFactory.php
Constructs a new client object from some configuration.
ComponentGenerator::getPackage in composer/Generator/ComponentGenerator.php
Reconcile component dependencies with core.
Composer::drupalVersionBranch in composer/Composer.php
Return the branch name the current Drupal version is associated with.

... See full list

File

core/lib/Drupal.php, line 78

Class

Drupal
Static Service Container wrapper.

Code

const VERSION = '9.5.12-dev';

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