Detailed guide. An unofficial adaptation of User Guide 4.4. Source updated April 14, 2025; reviewed November 6, 2026. No running-Drupal procedure test has been performed.
Official source ↗ · Previous: 4.3 Installing a Module · Chapter 4 overview · Next: 4.5 User Account Settings and Notifications
Goal
Understand uninstalling unused functionality after reviewing dependencies and data. Read module concepts . Deleting files alone is a different action.
Before starting
The source’s learning example removes Search, History and Ban. Our qualification: establish whether they are actually unused, inspect data/dependencies and plan recovery. Moving an extension out of core is distinct from uninstalling it. No deletion is performed here.
UI procedure
Open Extend → Uninstall (/admin/modules/uninstall), select intended eligible modules, choose Uninstall, review the confirmation and confirm only after assessing impact.
The source explains disabled selections when other modules or functionality depend on the target; File dependencies and comment fields illustrate the need to address dependencies first.
Drush example
The source illustrates the machine-name operation:
drush pm:uninstall ban
This is unexecuted. Uninstallation differs from file/package removal and data-preserving project migration.
Our verification example
Check remaining pages, forms and blocks as well as installed state. Investigate dependency restrictions instead of bypassing them. Re-downloading code does not automatically restore deleted data.
Connection to changes
Review the extension-provider note before deciding between migration and removal. This example is not an entire major-upgrade or deployment procedure.
Sources, credits and changes
Source: Drupal User Guide 4.4 ↗ . Contributors and source links listed in its Attributions: Joe Shindelar ↗ · Drupalize.Me · Surendra Mohan ↗ · Jojy Alphonso ↗ · Red Crackle . Refer to the source for writing, editing and adaptation roles, and to the guide-wide credits ↗ .
Copyright remains with the individual contributors; the official copyright page ↗ states © 2015–2025. Changes include reorganized explanations and procedures, our preparation and verification examples, troubleshooting notes, source-interpretation qualifications and release references. Original screenshots and videos are not reproduced. This adapted text is shared under CC BY-SA 2.0 . It is not an official edition or endorsement. This notice does not license unrelated articles or the site design.
Chapter navigation
Previous: 4.3 Installing a Module · Chapter 4 overview · Next: 4.5 User Account Settings and Notifications
Chapter 3 details · Chapter 5 · All chapters · Search official information