Add an EventDispatcherCollection which receives any number of implementations of \Drupal\payment\EventDispatcherInterface and fires events for all of them. The existing EventDispatcher can be renamed to SymfonyEventDispatcher and injected into EventDispatcherCollection by the container. Future event handling implementations can then be added without changing any existing code.

CommentFileSizeAuthor
#4 payment_2553287_4.patch15.84 KBxano
#4 interdiff.txt399 bytesxano
#2 payment_2553287_2.patch30.48 KBxano

Comments

Xano created an issue. See original summary.

xano’s picture

Status: Active » Needs review
StatusFileSize
new30.48 KB

Status: Needs review » Needs work

The last submitted patch, 2: payment_2553287_2.patch, failed testing.

xano’s picture

Status: Needs work » Needs review
StatusFileSize
new399 bytes
new15.84 KB
xano’s picture

Status: Needs review » Fixed

  • Xano committed 8f2c8a5 on 8.x-2.x
    Issue #2553287 by Xano: Add an EventDispatcherCollection
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.