You are here

49 uses of Drupal::VERSION in Drupal 9

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.
Composer::drupalVersionBranch in composer/Composer.php
Return the branch name the current Drupal version is associated with.
ComposerProjectTemplatesTest::getCoreStability in core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php
Returns the stability of the current core version.
ComposerProjectTemplatesTest::testTemplateCreateProject in core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php
@dataProvider provideTemplateCreateProject
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
Tests the command directly.
DbToolsApplication::__construct in core/lib/Drupal/Core/Command/DbToolsApplication.php
DbToolsApplicationTest::testDumpCommandRegistration in core/modules/system/tests/src/Kernel/Scripts/DbToolsApplicationTest.php
Tests that the dump command is correctly registered.
DrupalKernel::getContainerCacheKey in core/lib/Drupal/Core/DrupalKernel.php
Returns the container cache key based on the environment.
drupal_install_profile_distribution_version in core/includes/install.inc
Loads the installation profile, extracting its defined version.
ExperimentalThemeTest::testExperimentalConfirmForm in core/modules/system/tests/src/Functional/Theme/ExperimentalThemeTest.php
Tests installing experimental themes and dependencies in the UI.
hook_requirements in core/lib/Drupal/Core/Extension/module.api.php
Check installation requirements and do status reporting.
hook_views_query_substitutions in core/modules/views/views.api.php
Replace special strings in the query before it is executed.
InfoParserDynamic::parse in core/lib/Drupal/Core/Extension/InfoParserDynamic.php
Parses Drupal module, theme and profile .info.yml files.
InfoParserUnitTest::providerCoreIncompatibility in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Data provider for testCoreIncompatibility().
InfoParserUnitTest::testInfoParserCommonInfo in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests common info file.
InfoParserUnitTest::testInfoParserCoreInfo in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests common info file.
InfoParserUnitTest::testTestingPackageMissingCoreCoreVersionRequirement in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests that Testing package modules use a default core_version_requirement.
install_check_translations in core/includes/install.core.inc
Checks installation requirements and reports any errors.
LibraryDiscoveryParser::buildByExtension in core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
Parses and builds up all the libraries information of an extension.
LibraryDiscoveryParserTest::testBuildByExtensionSimple in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
Tests that basic functionality works for getLibraryByName.
LibraryDiscoveryParserTest::testVersion in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
Tests the version property, and how it propagates to the contained assets.
LocaleNonInteractiveDevInstallTest::getVersionStringToTest in core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
Gets the version string to use in the translation file.
LocaleNonInteractiveInstallTest::getVersionStringToTest in core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php
Gets the version string to use in the translation file.
LocaleStringTest::testStringCrudApi in core/modules/locale/tests/src/Kernel/LocaleStringTest.php
Tests CRUD API.
MetapackageUpdateTest::testUpdated in core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php
Tests to see if the generated metapackages are in sync with composer.lock.
MigrateUpgradeFormBase::buildForm in core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeFormBase.php
Form constructor.
MigrateUpgradeFormStepsTest::testMigrateUpgradeReviewPage in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php
Tests the flow of the Migrate Drupal UI form.
MigrateUpgradeTestBase::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
ModulesListForm::buildRow in core/modules/system/src/Form/ModulesListForm.php
Builds a table row for the system modules page.
ResponseGeneratorSubscriber::onRespond in core/lib/Drupal/Core/EventSubscriber/ResponseGeneratorSubscriber.php
Sets extra X-Generator header on successful responses.
ResponseGeneratorTest::testGeneratorHeaderAdded in core/modules/system/tests/src/Functional/System/ResponseGeneratorTest.php
Tests to see if generator header is added.
SecurityAdvisoriesFetcher::getProjectExistingVersion in core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php
Gets the existing project version.
SecurityAdvisoriesFetcherTest::providerShowAdvisories in core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php
Data provider for testShowAdvisories().
SecurityAdvisoriesFetcherTest::testHttpFallback in core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php
@covers ::doRequest @covers ::getSecurityAdvisories
SecurityAdvisoriesFetcherTest::testIntervalConfigUpdate in core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php
Tests that the stored advisories response is deleted on interval decrease.
Settings::getApcuPrefix in core/lib/Drupal/Core/Site/Settings.php
Generates a prefix for APCu user cache keys.
StringDatabaseStorage::findTranslation in core/modules/locale/src/StringDatabaseStorage.php
Loads a string translation object, fast query.
StringDatabaseStorage::updateLocation in core/modules/locale/src/StringDatabaseStorage.php
Update locations for string.
system_page_attachments in core/modules/system/system.module
Implements hook_page_attachments().
system_requirements in core/modules/system/system.install
Implements hook_requirements().
template_preprocess_system_themes_page in core/modules/system/system.admin.inc
Prepares variables for appearance page templates.
ThemeTest::testInvalidTheme in core/modules/system/tests/src/Functional/System/ThemeTest.php
Tests themes can't be installed when the base theme or engine is missing.
UpdateScriptTest::providerExtensionCompatibilityChange in core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
Date provider for testExtensionCompatibilityChange().
UpdateScriptTest::testRequirements in core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
Tests that requirements warnings and errors are correctly displayed.
update_verify_update_archive in core/modules/update/update.module
Implements hook_verify_update_archive().
views_views_query_substitutions in core/modules/views/views.views_execution.inc
Implements hook_views_query_substitutions().