[TASK] Deprecate old TypoScriptParser
The main goal of this patch is to avoid last usages of old TypoScriptParser and to substitute it with usages of the new parser approach. A couple of side usages have to be adapted, but the main work is to establish new factories for UserTsConfig and PageTsConfig while deprecating the former approach and adding functional test coverage to the factories. BackendUtility::getPagesTSconfig() is still the main API to retrieve PageTsConfig, for UserTsConfig it is $backendUser->getTSConfig(). The new API is thus considered @internal, at least for now. Resolves: #99120 Related: #97816 Releases: main Change-Id: I985929e1f2a90560059efe1e0f40f8c590ad1e4a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76565 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- composer.json 2 additions, 1 deletioncomposer.json
- typo3/sysext/backend/Classes/Form/Element/BackendLayoutWizardElement.php 1 addition, 6 deletions...ckend/Classes/Form/Element/BackendLayoutWizardElement.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 31 additions, 16 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Classes/View/BackendLayoutView.php 1 addition, 7 deletionstypo3/sysext/backend/Classes/View/BackendLayoutView.php
- typo3/sysext/backend/Classes/View/BackendViewFactory.php 9 additions, 1 deletiontypo3/sysext/backend/Classes/View/BackendViewFactory.php
- typo3/sysext/backend/Configuration/Services.yaml 0 additions, 4 deletionstypo3/sysext/backend/Configuration/Services.yaml
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 39 additions, 47 deletions...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Configuration/Event/ModifyLoadedPageTsConfigEvent.php 5 additions, 24 deletions...ses/Configuration/Event/ModifyLoadedPageTsConfigEvent.php
- typo3/sysext/core/Classes/Configuration/ExtensionConfiguration.php 1 addition, 2 deletions...ext/core/Classes/Configuration/ExtensionConfiguration.php
- typo3/sysext/core/Classes/Configuration/Loader/PageTsConfigLoader.php 4 additions, 0 deletions.../core/Classes/Configuration/Loader/PageTsConfigLoader.php
- typo3/sysext/core/Classes/Configuration/PageTsConfig.php 4 additions, 0 deletionstypo3/sysext/core/Classes/Configuration/PageTsConfig.php
- typo3/sysext/core/Classes/Configuration/Parser/PageTsConfigParser.php 4 additions, 0 deletions.../core/Classes/Configuration/Parser/PageTsConfigParser.php
- typo3/sysext/core/Classes/Package/AbstractServiceProvider.php 4 additions, 0 deletions...3/sysext/core/Classes/Package/AbstractServiceProvider.php
- typo3/sysext/core/Classes/ServiceProvider.php 10 additions, 1 deletiontypo3/sysext/core/Classes/ServiceProvider.php
- typo3/sysext/core/Classes/TypoScript/IncludeTree/Event/ModifyLoadedPageTsConfigEvent.php 50 additions, 0 deletions...cript/IncludeTree/Event/ModifyLoadedPageTsConfigEvent.php
- typo3/sysext/core/Classes/TypoScript/IncludeTree/IncludeNode/TsConfigInclude.php 27 additions, 0 deletions...es/TypoScript/IncludeTree/IncludeNode/TsConfigInclude.php
- typo3/sysext/core/Classes/TypoScript/IncludeTree/TsConfigTreeBuilder.php 190 additions, 0 deletions...re/Classes/TypoScript/IncludeTree/TsConfigTreeBuilder.php
- typo3/sysext/core/Classes/TypoScript/PageTsConfig.php 46 additions, 0 deletionstypo3/sysext/core/Classes/TypoScript/PageTsConfig.php
- typo3/sysext/core/Classes/TypoScript/PageTsConfigFactory.php 132 additions, 0 deletionstypo3/sysext/core/Classes/TypoScript/PageTsConfigFactory.php
- typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php 6 additions, 2 deletions...ysext/core/Classes/TypoScript/Parser/TypoScriptParser.php
Please register or sign in to comment