Breaking: #98016 - Removed TypoScript function hook 

See forge#98016

Description 

With the transition to the new TypoScript parser, the hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsparser.php']['preParseFunc'] is no longer called.

This hook has been used to implement own functions for the TypoScript "function" operator :=.

Additional functions can now be implemented using the \TYPO3\CMS\Core\TypoScript\AST\Event\EvaluateModifierFunctionEvent as described in this Changelog.

Impact 

With the continued implementation of the new TypoScript parser in TYPO3 v12, registered hook implementations are not executed anymore. The extension scanner will report possible usages.

Affected installations 

Extensions registering own TypoScript function implementations like this:

myValue := myCustomFunction(modifierArgument)
Copied!

Migration 

Implement the new event. Extensions that want to keep compatibility with both TYPO3 v11 and v12 can keep the old hook implementation without further deprecations.