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.
We use the tag 'kernel.event_subscriber' for registering subscriber services that need to be added to the event dispatcher. While most of the events that will get dispatched by our 'dispatcher' service will be kernel events, we'll also be using the same tag for other non-kernel-related events. So it makes sense to rename it to simply 'event_subscriber'.
This should be a simple find and replace (affecting services registered in core/lib/Drupal/Core/CoreBundle.php and the compiler pass itself in core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterKernelListenersPass.php).
Any takers? :-)
Comment | File | Size | Author |
---|---|---|---|
#1 | issue-1824400-01-event_subscriber.patch | 5.21 KB | gapple |
Comments
Comment #1
gappleHere is a quick find-replace patch
Comment #2
katbailey CreditAttribution: katbailey commentedLooks good to me!
Comment #3
webchickLooks simple enough.
Committed and pushed to 8.x. Thanks!