EventDispatcher needs to be EventDispatcherInterface

Created on 15 November 2024, 3 months ago

Commit #3475867 removed deprecated ContainerAwareEventDispatcher in favor of Symfony's EventDispatcher. But that breaks Drupal 10.3 compatibility, as the core `event_dispatcher` service still returns ContainerAwareEventDispatcher.

Constructors should take EventDispatcherInterface so that either the Symfony EventDispatcher or Drupal 10.3's ContainerAwareEventDispatcher can be passed in.

πŸ› Bug report
Status

Active

Version

0.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States aasarava

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024