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.
The code comment above the removeAllowedClass() function says to call this function in a module's hook_uninstall, but really it should be called in hook_disable. Otherwise, the dependent module can't be uninstalled unless entity_lister is enabled.
Comments
Comment #1
arnoldbird CreditAttribution: arnoldbird commentedFixed in revision 244ef3c