Issue Feature Closed

#107357Add request as property of ModifyNewContentElementWizardItemsEvent

Sebastian Fischer 08/29/25, 16:10 updated 12/02/25, 13:58

Description

TYPO3\CMS\Backend\Controller\Event\ModifyNewContentElementWizardItemsEvent already contains properties about page, language, column, positions and wizard items to modify. Still it misses the request, which would make it possible to use query values from the request.

Like b13/container this requires to get the request from $GLOBALS[‘TYPO3_REQUEST’] (see https://github.com/b13/container/blob/3.1.10/Classes/Listener/ModifyNewContentElementWizardItems.php)

In the wizard action where the event gets dispatched the request is available. So it would be helpful to add it to the request, so listeners can make use of information in there.

Reviews 2