Breaking: #102581 - Removed hook for manipulating ContentObjectRenderer

See forge#102581

Description

The hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['postInit'] has been removed in favor of the new PSR-14 event \TYPO3\CMS\Frontend\ContentObject\Event\AfterContentObjectRendererInitializedEvent .

Impact

Any hook implementation registered is not executed anymore in TYPO3 v13+.

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.