Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal.php \Drupal::VERSION
  2. 9 core/lib/Drupal.php \Drupal::VERSION

The current system version.

42 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 = '10.3.0-dev';