Problem/Motivation
Some modules (hook_event_dispatcher is one example) override the ModuleHandler service, ECC breaks when this happens because it expects the class \Drupal\Core\Extension\ModuleHandler instead of the interface.
Steps to reproduce
Use ECC in combination with the latest version of hook_event_dispatcher (or override the ModuleHandler service yourself).
Proposed resolution
Expect the interface as an argument instead of the class.
Remaining tasks
Create a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3307527-2.patch | 3.02 KB | randalv |
Comments
Comment #2
randalv commentedPatch attached.
Comment #3
svenryen commentedThanks @RandalV! I wasn't aware of hook_event_dispatcher. I'll have a look at that module and test.
Comment #5
svenryen commented