Guide Throws Light on Fully Disabling Deprecated Drupal Core Modules
Luciano Cossich published a LinkedIn article detailing how to fully disable a deprecated Drupal core module that remained active after an upgrade.
In the post, titled "Disabling That Pesky Deprecated Drupal Core Module That You Didn't Uninstall When You Upgraded Because You Didn't Know Better," Cossich explains the challenges he faced when trying to remove the unused Help module from his personal website. After discovering leftover configuration data causing errors, he documented a manual cleanup process.
The article walks readers through inspecting and editing Drupal’s configuration files, removing obsolete entries from core.extension.yml, user.role.content_editor.yml, and deleting related block configuration files. Cossich also describes using Drush commands to identify, back up, and safely remove lingering configurations tied to the deprecated module.
When standard uninstallation attempts failed, Cossich recommends a full uninstall-reinstall cycle to completely clear leftover menu items and configuration records. The article emphasizes the importance of clearing caches and re-exporting configuration files to prevent future issues.