Replacing TYPO3 Hooks with PSR-14 Event Listeners: A Practical Migration
TYPO3's PSR-14 event listeners replace stringly-typed hooks with typed, ordered, injectable classes. Here's a worked migration example, plus where hooks are still unavoidable.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
TYPO3's PSR-14 event listeners replace stringly-typed hooks with typed, ordered, injectable classes. Here's a worked migration example, plus where hooks are still unavoidable.
In TYPO3 v12, the transition from the deprecated Signal/Slot system to the PSR-14 EventDispatcher introduces a challenge regarding execution order. While Signal/Slot allowed for explicit integer priorities, the current PSR-14 implementation in TYPO3 sorts listeners by priority and then by service ID. This makes the execution sequence non-deterministic when m