[!!!][TASK] Remove CSS/JS inclusion via PHP in TSFE
TypoScriptFrontendController has had functionality to dynamically load JavaScript and CSS code, also in non-cacheable (USER_INT) content. This has been largely superseded via the AssetCollector API and PageRenderer API which is built in a way to deal with non-cacheable and cacheable content with proper method calls. For this reason, the legacy functionality is removed: * TSFE->setJS (used via TSFE->setJS('openpic') in core) * TSFE->additionalJavaScript * TSFE->additionalCSS * TSFE->JSCode * TSFE->inlineJS Although all methods and properties have been marked as internal in TYPO3 v10, a Breaking RST is still added. Resolves: #91563 Releases: master Change-Id: I167dae29e3daa5e1d5ad4c6848dcc49fbfec3183 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64660 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Breaking-91563-PHP-basedJSCSSInclusionsForFrontendRemoved.rst 40 additions, 0 deletions...king-91563-PHP-basedJSCSSInclusionsForFrontendRemoved.rst
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 2 additions, 1 deletion.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php 2 additions, 1 deletion.../Classes/ContentObject/Menu/AbstractMenuContentObject.php
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 6 additions, 96 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Http/RequestHandler.php 1 addition, 15 deletionstypo3/sysext/frontend/Classes/Http/RequestHandler.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php 7 additions, 0 deletions.../Configuration/ExtensionScanner/Php/MethodCallMatcher.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php 20 additions, 0 deletions...figuration/ExtensionScanner/Php/PropertyPublicMatcher.php
Please register or sign in to comment