Skip to content

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

Open
@codebymikey

Description

@codebymikey

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions