User tests: Successful: Unsuccessful:
A replacement for deprecated registerListeners()
(see #43395)
Current limitation of SubscriberInterface is that it does not allow to return listeners depend from runtime.
It has own pros and cons. However in CMS it is sometimes need to have a diffrenet listeners depend from the Application type.
I think DynamicSubscriberInterface will be a good for it.
The difference from SubscriberInterface is that it uses non-static method, which allows subscriber to configure listeners depending on runtime. Additionally, it supports callables.
Code review.
Check GuidedTours and ScheduleRunner plugins still works.
Works
Works
Please select:
References:
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries Front End Plugins |
Labels |
Added:
RFC
PR-5.2-dev
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-06-10 09:45:25 |
Closed_By | ⇒ | Fedik | |
Labels |
Added:
Feature
|