43 uses of Drupal::VERSION in Drupal 8
- 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.
- DbToolsApplication::__construct in core/
lib/ Drupal/ Core/ Command/ DbToolsApplication.php - Constructor.
- DbToolsApplicationTest::testDumpCommandRegistration in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbToolsApplicationTest.php - Test 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 - Dataprovider 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 - Test CRUD API.
- MetapackageUpdateTest::testUpdated in core/
tests/ Drupal/ Tests/ Composer/ Generator/ MetapackageUpdateTest.php - Test to see if the generated metapackages are in sync with composer.lock.
- MigrateUpgradeExecuteTestBase::setUp in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeExecuteTestBase.php - 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.
- 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 - Test to see if generator header is added.
- 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 - Test 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().
- _update_equivalent_security_releases in core/
modules/ update/ update.module - Identifies equivalent security releases with a hardcoded list.