Breaking: #97452 - Removed EditFileController hooks
See forge#97452
Description
The hooks $GLOBALS
and $GLOBALS
have been removed, since adjusting the generated content can be achieved using template overrides
and modifing the form data, used to generate the edit file form, can be done
using the PSR-14 \TYPO3\
.
Impact
Any hook implementation registered is not executed anymore in TYPO3 v12.0+. The extension scanner will report possible usages.
Affected Installations
All TYPO3 installations using these hook in custom extension code. This is pretty unlikely, since both hooks were of limited use.
Migration
The form data modification, allowed by pre
, can be
achieved with the new PSR-14 ModifyEditFileFormDataEvent.
The content manipulation post
hook can be substituted with a template override
as outlined in this changelog entry.