Deprecation: #83608 - Backend user's getDefaultUploadFolder hook
See forge#83608
Description
The hook $GLOBALS
has been marked
as deprecated in favor of a new PSR-14 event After
.
Along with the hook, the two methods:
Backend
User Authentication->get Default Upload Folder () Backend
User Authentication->get Default Upload Temporary Folder ()
have been marked as internal, as they are not considered part of the public TYPO3 API anymore.
Impact
Using this hook will trigger a PHP deprecation notice every time the method
Backend
is called,
Affected installations
TYPO3 installations with special functionality in extensions using these methods or the hook.
Migration
Migrate to the PSR-14 event AfterDefaultUploadFolderWasResolvedEvent in your custom extensions.
It is fired after various page TSconfig settings have been applied and allows for more fine-grained control.