Problem/Motivation

Now that ModuleActivator can expose tasks, a logical one we might want to include is a task to uninstall the module. The main benefit I can see is that people who installed a module via PB can go to PB to uninstall it, rather than having to figure out a whole other form. That seems like a very sensible idea for UX.

Proposed resolution

We'll need to create a route, something like /admin/modules/browse/uninstall?module=foo which programmatically submits \Drupal\system\Form\ModulesUninstallForm, redirects to the confirmation form, then redirects back into Project Browser after the user has confirmed the uninstall.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

phenaproxima created an issue. See original summary.

phenaproxima’s picture

Status: Active » Needs review
Issue tags: +Needs tests

utkarsh_33 made their first commit to this issue’s fork.

narendrar’s picture

Looks good, some change suggested.

narendrar’s picture

Status: Needs review » Reviewed & tested by the community

chrisfromredfin made their first commit to this issue’s fork.

chrisfromredfin’s picture

Status: Reviewed & tested by the community » Fixed

Coooooool!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.