Deprecation: #89870 - New PSR-14 Events for Extbase-related signals
See forge#89870
Description
The following signals have been marked as deprecated in favor of new PSR-14 events:
TYPO3\
CMS\ Extbase\ Mvc\ Dispatcher:: after Request Dispatch TYPO3\
CMS\ Extbase\ Mvc\ Controller\ Action Controller:: before Call Action Method TYPO3\
CMS\ Extbase\ Persistence\ Generic\ Mapper\ Data Mapper:: after Mapping Single Row TYPO3\
CMS\ Extbase\ Persistence\ Generic\ Backend:: before Getting Object Data TYPO3\
CMS\ Extbase\ Persistence\ Generic\ Backend:: after Getting Object Data TYPO3\
CMS\ Extbase\ Persistence\ Generic\ Backend:: end Insert Object TYPO3\
CMS\ Extbase\ Persistence\ Generic\ Backend:: after Update Object TYPO3\
CMS\ Extbase\ Persistence\ Generic\ Backend:: after Persist Object TYPO3\
CMS\ Extbase\ Persistence\ Generic\ Backend:: after Remove Object
The method emit
in Action
has been marked as deprecated and is not called by Extbase itself anymore.
Impact
Using any of the signals will still work as expected, but will trigger
a PHP E_
error.
Calling the method emit
will trigger a
PHP E_
error.
Affected Installations
TYPO3 installations with extensions using the Extbase framework and Extbase-internal hooks.
Migration
The following new PSR-14-based Events should be used instead:
\TYPO3\
CMS\ Extbase\ Event\ Mvc\ After Request Dispatched Event \TYPO3\
CMS\ Extbase\ Event\ Mvc\ Before Action Call Event \TYPO3\
CMS\ Extbase\ Event\ Persistence\ After Object Thawed Event \TYPO3\
CMS\ Extbase\ Event\ Persistence\ Modify Query Before Fetching Object Data Event \TYPO3\
CMS\ Extbase\ Event\ Persistence\ Modify Result After Fetching Object Data Event \TYPO3\
CMS\ Extbase\ Event\ Persistence\ Entity Added To Persistence Event \TYPO3\
CMS\ Extbase\ Event\ Persistence\ Entity Updated In Persistence Event \TYPO3\
CMS\ Extbase\ Event\ Persistence\ Entity Removed From Persistence Event \TYPO3\
CMS\ Extbase\ Event\ Persistence\ Entity Persisted Event