Problem/Motivation
After updating the hook_event_dispatcher module to version 3.3.1, a fatal error happens.
https://www.drupal.org/project/hook_event_dispatcher/issues/3277301 for some background of the updates done in hook_event_dispatcher module.
Proposed resolution
Use the ModuleHandlerInterface instead of the ModuleHandler concrete implementation, because other modules might decorate this class and it would lead to some fatal error.
Related Issues
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3321297-use-modulehandlerinterface-2.patch | 1.52 KB | nmillin |
Comments
Comment #2
nmillin commentedPatch attached that mirrors at what https://www.drupal.org/project/facets/issues/3308343 did.
Comment #3
mark_fullmerThanks for the contribution! This makes good sense.
Comment #5
mark_fullmer