1.. include:: ../../Includes.txt
2
3===================================================================
4Deprecation: #89870 - New PSR-14 Events for Extbase-related signals
5===================================================================
6
7See :issue:`89870`
8
9Description
10===========
11
12The following signals have been marked as deprecated in favor of new PSR-14 events:
13
14- :php:`TYPO3\CMS\Extbase\Mvc\Dispatcher::afterRequestDispatch`
15- :php:`TYPO3\CMS\Extbase\Mvc\Controller\ActionController::beforeCallActionMethod`
16- :php:`TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper::afterMappingSingleRow`
17- :php:`TYPO3\CMS\Extbase\Persistence\Generic\Backend::beforeGettingObjectData`
18- :php:`TYPO3\CMS\Extbase\Persistence\Generic\Backend::afterGettingObjectData`
19- :php:`TYPO3\CMS\Extbase\Persistence\Generic\Backend::endInsertObject`
20- :php:`TYPO3\CMS\Extbase\Persistence\Generic\Backend::afterUpdateObject`
21- :php:`TYPO3\CMS\Extbase\Persistence\Generic\Backend::afterPersistObject`
22- :php:`TYPO3\CMS\Extbase\Persistence\Generic\Backend::afterRemoveObject`
23
24The method :php:`emitBeforeCallActionMethodSignal` in :php:`ActionController`
25has been marked as deprecated and is not called by Extbase itself anymore.
26
27Impact
28======
29
30Using any of the signals will still work as expected, but will trigger
31a PHP :php:`E_USER_DEPRECATED` error.
32
33Calling the method :php:`emitBeforeCallActionMethodSignal` will trigger a
34PHP :php:`E_USER_DEPRECATED` error.
35
36Affected Installations
37======================
38
39TYPO3 installations with extensions using the Extbase framework and
40Extbase-internal hooks.
41
42
43Migration
44=========
45
46The following new PSR-14-based Events should be used instead:
47
48- :php:`TYPO3\CMS\Extbase\Event\Mvc\AfterRequestDispatchedEvent`
49- :php:`TYPO3\CMS\Extbase\Event\Mvc\BeforeActionCallEvent`
50- :php:`TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent`
51- :php:`TYPO3\CMS\Extbase\Event\Persistence\ModifyQueryBeforeFetchingObjectDataEvent`
52- :php:`TYPO3\CMS\Extbase\Event\Persistence\ModifyResultAfterFetchingObjectDataEvent`
53- :php:`TYPO3\CMS\Extbase\Event\Persistence\EntityAddedToPersistenceEvent`
54- :php:`TYPO3\CMS\Extbase\Event\Persistence\EntityUpdatedInPersistenceEvent`
55- :php:`TYPO3\CMS\Extbase\Event\Persistence\EntityRemovedFromPersistenceEvent`
56- :php:`TYPO3\CMS\Extbase\Event\Persistence\EntityPersistedEvent`
57
58.. index:: PHP-API, PartiallyScanned, ext:extbase
59