Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!164
Issue
#3188689
: Document why CORE_COMPATIBILITY is 8.x in 9.x branch
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Issue
#3188689
: Document why CORE_COMPATIBILITY is 8.x in 9.x branch
issue/drupal-3188689:3188689-core-compatibility-comment
into
10.1.x
Overview
0
Commits
2
Pipelines
0
Changes
1
Closed
Ted Bowman
requested to merge
issue/drupal-3188689:3188689-core-compatibility-comment
into
10.1.x
4 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
10.1.x
version 5
fbc0bb36
2 years ago
version 4
00c71713
2 years ago
version 3
00c71713
2 years ago
version 2
fb40082e
4 years ago
version 1
2d032bfa
4 years ago
10.1.x (base)
and
latest version
latest version
9765e8a0
2 commits,
2 years ago
version 5
fbc0bb36
1 commit,
2 years ago
version 4
00c71713
1 commit,
2 years ago
version 3
00c71713
2668 commits,
2 years ago
version 2
fb40082e
1 commit,
4 years ago
version 1
2d032bfa
1 commit,
4 years ago
1 file
+
10
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
core/lib/Drupal.php
+
10
−
0
Options
@@ -79,6 +79,16 @@ class Drupal {
/**
* Core API compatibility.
*
* This constant is set to '8.x' to provide legacy compatibility with
* extensions that use the '8.x-' prefix to denote Drupal core major version
* compatibility, for example '8.x-1.0'. These extensions can specify
* compatibility with multiple major versions of Drupal core by setting the
* version constraint in 'core_version_requirement'. Drupal does not support
* using this core major version number prefix with versions greater than 8.
* For example '9.x-' prefixed extensions are not supported.
*
* @todo Remove or rename this constant in https://www.drupal.org/i/3085662
*/
const
CORE_COMPATIBILITY
=
'8.x'
;
Loading