How to Remove Unused Drupal Modules
Over the last few years we’ve had a wide variety of questions about removing Drupal modules, including these:
- Do I need to remove modules via the admin or the file system?
- Do uninstalled modules leave database entries behind?
- Can I just disable a module, rather than completely uninstall it?
- Should I uninstall Drupal core modules when I see that option?
Robert answers all those questions and more in this video from our Drupal Security class.
Also worth noting that if you’re thinking of actually deleting the module files from the server then you definately need to uninstall the module first rather than just disabling it. Otherwise you might encounter a huge performance regression which stems from Drupal recursively searching through the site for the “missing” module on avery page load.