[FEATURE] Introduce PreviewAspect for handling the preview flag
The public internal property of TSFE "fePreview" has been deprecated in favor of a dedicated aspect handling the frontend preview flag. As a first step, the frontend preview aspect only contains a boolean flag holding the current preview state - but it might be extended with additional information on the preview mode at a later point. This is also a first step to remove the TSFE dependencies from the AdminPanel initialisation process. Resolves: #88791 Releases: master Change-Id: I2994d69d824b1b107a3a878b87c9dd2f7daf3ed2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61311 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- typo3/sysext/adminpanel/Classes/Modules/PreviewModule.php 14 additions, 3 deletionstypo3/sysext/adminpanel/Classes/Modules/PreviewModule.php
- typo3/sysext/core/Classes/Context/Context.php 1 addition, 0 deletionstypo3/sysext/core/Classes/Context/Context.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-88791-IntroducePreviewAspectInContext.rst 27 additions, 0 deletions.../master/Feature-88791-IntroducePreviewAspectInContext.rst
- typo3/sysext/frontend/Classes/Aspect/PreviewAspect.php 60 additions, 0 deletionstypo3/sysext/frontend/Classes/Aspect/PreviewAspect.php
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 113 additions, 18 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Hooks/FrontendHooks.php 3 additions, 1 deletiontypo3/sysext/frontend/Classes/Hooks/FrontendHooks.php
- typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php 2 additions, 0 deletions...d/Classes/Middleware/TypoScriptFrontendInitialization.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php 5 additions, 0 deletions...figuration/ExtensionScanner/Php/PropertyPublicMatcher.php
Please register or sign in to comment