Drupal::VERSION

Same name in other branches
  1. 9 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.

43 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.
ClientFactory::fromOptions in core/lib/Drupal/Core/Http/ClientFactory.php
Constructs a new client object from some configuration.
Composer::drupalVersionBranch in composer/Composer.php
Return the branch name the current Drupal version is associated with.
DbDumpCommand::generateScript in core/lib/Drupal/Core/Command/DbDumpCommand.php
Generates the database script.
DbDumpCommandTest::testDbDumpCommand in core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
Test the command directly.

... See full list

File

core/lib/Drupal.php, line 85

Class

Drupal
Static Service Container wrapper.

Code

const VERSION = '8.9.21-dev';

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