Drupal::VERSION

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

The current system version.

56 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.
AnnounceFetcher::isRelevantItem in core/modules/announcements_feed/src/AnnounceFetcher.php
Check whether the version given is relevant to the Drupal version used.
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.

... See full list

File

core/lib/Drupal.php, line 78

Class

Drupal
Static Service Container wrapper.

Code

const VERSION = '11.0-dev';

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