Allow downloading and installing contrib modules in the next version

Created on 13 November 2023, 7 months ago
Updated 14 March 2024, 3 months ago

Problem/Motivation

Before a new Drupal core version is released, many modules are prohibited from getting downloaded with Composer and installed with Drush or via GUI, even though they might work, or mostly work.

This can be annoying during Drupal core development, since popular modules such as Devel and Admin Toolbar cannot be downloaded or installed in Drupal 11, even though they might largely work in Drupal 11. Since the Drupal 10 and 11 code base will be quite similar, Devel and Admin Toolbar probably works 99%, see πŸ“Œ Add Drupal 11 support Needs work .

Ambitious Site Builders β†’ can also get hit by this, when they want to start building a Drupal 11 web site half a year before it is officially released, but many contrib modules are not installable.

Steps to reproduce

Do Drupal core development, and see that you have to jump through hoops to download and install a contrib module:

... composer install the module in 10.2.x, install the module through the Drupal modules page, revert git changes, and finally change back to 11.x or the fork branch.

From https://www.drupal.org/project/documentation/issues/3398293#comment-1531... β†’

... or start a new project, and realize that some fundamental modules cannot be installed yet in the next version.

Proposed resolution

Make it easier to use projects in the next version ("Drupal 10 modules in Drupal 11") by allowing them to be:

  1. Downloaded with Composer
  2. Installed in Drupal

The idea is to allow overriding both composer.json as well as *.info.yml limitations.

Remaining tasks

The work to do with Composer ("download") and the work to do with the extension system ("install") are best kept as two separate issues, as they're totally different systems:

  1. Download (Composer): See πŸ› Wrong DRUPAL_ROOT with non-standard code structure Needs work
  2. Install: Include a feature like https://www.drupal.org/project/backward_compatibility β†’ in Drupal core? Or ✨ Remove requirement for core_version_requirement for module to be compatible with Drupal 9 Active ? For dev-version see πŸ› Allow contrib extensions to be enabled when core branch is 11.x/main Needs work

User interface changes

TBD

API changes

TBD

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
ComposerΒ  β†’

Last updated about 22 hours ago

No maintainer
Created by

πŸ‡©πŸ‡°Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024