Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module uninstallations should provide an overview of configurations that will be deleted/removed just like the UI currently does #5887

Open
codebymikey opened this issue Mar 4, 2024 · 1 comment

Comments

@codebymikey
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When uninstalling a module, it can inadvertently delete a bunch of configs without the user knowing. Deleting the same module on the UI will show the following summary like this:

image

Somewhat related to #5718

This is even more important in Drupal 10.1 when a module uninstallation can cause the outright deletion of user roles and you lose reference to which users were assigned to which role unless you have a previous backup.

Describe the solution you'd like
We can introduce a validation hook or similar which provides the summary of config changes (especially deletions) before the user confirms the uninstallation.

Describe alternatives you've considered
N/A

Additional context
N/A

@weitzman
Copy link
Member

PR welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants