Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Subsequent to the addition of the rollback method in the parent ticket the Module Installer is going to be left with a LOT of duplicate code that should be refactored for performance and maintenance reasons. Even if that patch (parent to this ticket) is never accepted, the install and uninstall methods have duplicated code between them and have grown too lengthy to be easily maintained.
Proposed resolution
Pay the technical debt - refactor. There will be no UIX or API changes.
Comments