Breaking: #102614 - Removed Hook for manipulating GetData result¶
See forge#102614
Description¶
The hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['getData']
has been removed in favor of the new PSR-14 event
\TYPO3\CMS\Frontend\ContentObject\Event\AfterGetDataResolvedEvent
.
Impact¶
Any hook implementation registered is not executed anymore in TYPO3 v13.0+.
Affected installations¶
TYPO3 installations with custom extensions using this hook.
Migration¶
The hook is removed without deprecation in order to allow extensions to work with TYPO3 v12 (using the hook) and v13+ (using the new event) when implementing the event as well without any further deprecations. Use the PSR-14 event to allow greater influence in the functionality.
Note
The new event is no longer executed for every "section" of the provided
parameter string, but only once, before the final result of getData()
is about to be returned. This therefore means, the former $secVal
is no longer available in the new event. Please adjust your implementation
accordingly.