Make it possible to install dependent modules when installing theme

Created on 11 December 2019, about 5 years ago
Updated 30 January 2023, almost 2 years ago

Problem/Motivation

It became possible to have themes depend on modules in #474684: Allow themes to declare dependencies on modules . In this implementation, the dependee-modules must be enabled in admin/modules before a module-depending theme can be enabled.
Ideally, it would be possible to enable the dependent modules as part of enabling the theme. This was not part of the initial implementation due to the complexities of permissions and confirmation forms when both themes and modules are being enabled.
A partial implementation was added in an earlier iteration of the patch #474684: Allow themes to declare dependencies on modules , once it was apparent that additional validation (including experimental modules) was needed, it was decided that this was better addressed in a followup.

Proposed resolution

Determine how to best implement module-enabling validation in both admin/modules and when enabling module-dependent themes.

Then implement that.

Remaining tasks

?

User interface changes

...

API changes

...

Data model changes

...

Release notes snippet

...

Feature request
Status

Needs work

Version

10.1

Component
Extension 

Last updated 11 days ago

No maintainer
Created by

🇺🇸United States bnjmnm Ann Arbor, MI

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024