Feature: #89870 - New PSR-14 Events for Extbase-related signals¶
See forge#89870
Description¶
The following new PSR-14-based Events are introduced which allow to modify various concerns in the MVC and persistence stacks of Extbase internals.
TYPO3\CMS\Extbase\Event\Mvc\AfterRequestDispatchedEvent
TYPO3\CMS\Extbase\Event\Mvc\BeforeActionCallEvent
TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent
TYPO3\CMS\Extbase\Event\Persistence\ModifyQueryBeforeFetchingObjectDataEvent
TYPO3\CMS\Extbase\Event\Persistence\ModifyResultAfterFetchingObjectDataEvent
TYPO3\CMS\Extbase\Event\Persistence\EntityAddedToPersistenceEvent
TYPO3\CMS\Extbase\Event\Persistence\EntityFinalizedAfterPersistenceEvent
TYPO3\CMS\Extbase\Event\Persistence\EntityUpdatedInPersistenceEvent
TYPO3\CMS\Extbase\Event\Persistence\EntityRemovedFromPersistenceEvent
TYPO3\CMS\Extbase\Event\Persistence\EntityPersistedEvent
Impact¶
Existing signals are replaced and should not be used anymore, as PSR-14 event classes exactly specify what can be modified or listened to.
The following signals should not be used anymore then:
TYPO3\CMS\Extbase\Mvc\Dispatcher::afterRequestDispatch
TYPO3\CMS\Extbase\Mvc\Controller\ActionController::beforeCallActionMethod
TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper::afterMappingSingleRow
TYPO3\CMS\Extbase\Persistence\Generic\Backend::beforeGettingObjectData
TYPO3\CMS\Extbase\Persistence\Generic\Backend::afterGettingObjectData
TYPO3\CMS\Extbase\Persistence\Generic\Backend::afterInsertObject
TYPO3\CMS\Extbase\Persistence\Generic\Backend::endInsertObject
TYPO3\CMS\Extbase\Persistence\Generic\Backend::afterUpdateObject
TYPO3\CMS\Extbase\Persistence\Generic\Backend::afterPersistObject
TYPO3\CMS\Extbase\Persistence\Generic\Backend::afterRemoveObject