[!!!][FEATURE] Implement TypoScript function modifier event
The old TypoScript parser allows implementing own functions for the := operator using a hook: someIdentifier := myCustomFunction(myFunctionArgument) The new TypoScript parser does not implement this hook and adds a new event instead. Resolves: #98016 Related: #97816 Releases: main Change-Id: I66dd4e393333c239b75a5935aacdbde46b1518e0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75280 Tested-by:Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- composer.json 2 additions, 1 deletioncomposer.json
- typo3/sysext/core/Classes/TypoScript/AST/AstBuilder.php 30 additions, 35 deletionstypo3/sysext/core/Classes/TypoScript/AST/AstBuilder.php
- typo3/sysext/core/Classes/TypoScript/AST/Event/EvaluateModifierFunctionEvent.php 85 additions, 0 deletions...es/TypoScript/AST/Event/EvaluateModifierFunctionEvent.php
- typo3/sysext/core/Documentation/Changelog/12.0/Breaking-98016-RemovedTypoScriptFunctionHook.rst 49 additions, 0 deletions...log/12.0/Breaking-98016-RemovedTypoScriptFunctionHook.rst
- typo3/sysext/core/Documentation/Changelog/12.0/Feature-98016-PSR-14EvaluateModifierFunctionEvent.rst 65 additions, 0 deletions...2.0/Feature-98016-PSR-14EvaluateModifierFunctionEvent.rst
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_typoscript_ast_function_event/Classes/EventListener/TyposcriptTestFunction.php 30 additions, 0 deletions...on_event/Classes/EventListener/TyposcriptTestFunction.php
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_typoscript_ast_function_event/Configuration/Services.yaml 10 additions, 0 deletions...typoscript_ast_function_event/Configuration/Services.yaml
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_typoscript_ast_function_event/Resources/Public/Icons/Extension.svg 1 addition, 0 deletions...t_ast_function_event/Resources/Public/Icons/Extension.svg
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_typoscript_ast_function_event/ext_emconf.php 22 additions, 0 deletions...ensions/test_typoscript_ast_function_event/ext_emconf.php
- typo3/sysext/core/Tests/Functional/TypoScript/AST/AstBuilderTest.php 72 additions, 0 deletions...t/core/Tests/Functional/TypoScript/AST/AstBuilderTest.php
- typo3/sysext/core/Tests/Unit/Fixtures/EventDispatcher/NoopEventDispatcher.php 28 additions, 0 deletions...sts/Unit/Fixtures/EventDispatcher/NoopEventDispatcher.php
- typo3/sysext/core/Tests/Unit/TypoScript/AST/AstBuilderTest.php 28 additions, 16 deletions.../sysext/core/Tests/Unit/TypoScript/AST/AstBuilderTest.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ArrayDimensionMatcher.php 6 additions, 0 deletions...figuration/ExtensionScanner/Php/ArrayDimensionMatcher.php
Please register or sign in to comment