drush icon indicating copy to clipboard operation
drush copied to clipboard

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

Open codebymikey opened this issue 1 year ago • 1 comments

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

codebymikey avatar Mar 04 '24 15:03 codebymikey

PR welcome

weitzman avatar Mar 12 '24 02:03 weitzman