26 uses of Drupal::VERSION
- AnnounceFetcher::isRelevantItem in core/
modules/ announcements_feed/ src/ AnnounceFetcher.php - Check whether the version given is relevant to the Drupal version used.
- BareHtmlPageRenderer::systemPageAttachments in core/
lib/ Drupal/ Core/ Render/ BareHtmlPageRenderer.php - Helper for system_page_attachments.
- 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.
- DbDumpCommand::generateScript in core/
lib/ Drupal/ Core/ Command/ DbDumpCommand.php - Generates the database script.
- DbToolsApplication::__construct in core/
lib/ Drupal/ Core/ Command/ DbToolsApplication.php - 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.
- GenerateTheme::getStarterKitVersion in core/
lib/ Drupal/ Core/ Command/ GenerateTheme.php - 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.
- 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.
- MigrateUpgradeFormBase::buildForm in core/
modules/ migrate_drupal_ui/ src/ Form/ MigrateUpgradeFormBase.php - Form constructor.
- 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.
- SecurityAdvisoriesFetcher::getProjectExistingVersion in core/
modules/ system/ src/ SecurityAdvisories/ SecurityAdvisoriesFetcher.php - Gets the existing project version.
- 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 - StringDatabaseStorage::updateLocation in core/
modules/ locale/ src/ StringDatabaseStorage.php - Update locations for string.
- 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.
- UpdateHooks::verifyUpdateArchive in core/
modules/ update/ src/ Hook/ UpdateHooks.php - Implements hook_verify_update_archive().
- ViewsViewsExecutionHooks::viewsQuerySubstitutions in core/
modules/ views/ src/ Hook/ ViewsViewsExecutionHooks.php - Implements hook_views_query_substitutions().