[TASK] Separation of concerns while rendering Page module
All PageTsConfig options are now in DrawingConfiguration and named properly. All plain labels are now moved to Fluid directly via <f:translate> Random id="{uniqueId}" are removed from markup, reducing the usages to the AbstractGridObject, which hopefully will vanish in the near future. RecordRememberer is a singleton and injected as much as possible. The "languageMode" is now resolved into a PageViewMode enum. Resolves: #103345 Releases: main Change-Id: I78f33fed409db2a1c5528e734ed19ad67aeb4e89 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83322 Reviewed-by:Nikita Hovratov <nikita.h@live.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Kienast <a.fernandez@scripting-base.de> Tested-by:
Nikita Hovratov <nikita.h@live.de>
Showing
- typo3/sysext/backend/Classes/Controller/PageLayoutController.php 13 additions, 28 deletions...ysext/backend/Classes/Controller/PageLayoutController.php
- typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php 2 additions, 2 deletions...ext/backend/Classes/View/BackendLayout/ContentFetcher.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/AbstractGridObject.php 0 additions, 6 deletions...nd/Classes/View/BackendLayout/Grid/AbstractGridObject.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/Grid.php 1 addition, 1 deletion...3/sysext/backend/Classes/View/BackendLayout/Grid/Grid.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php 14 additions, 10 deletions...xt/backend/Classes/View/BackendLayout/Grid/GridColumn.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php 5 additions, 7 deletions...ackend/Classes/View/BackendLayout/Grid/GridColumnItem.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/LanguageColumn.php 4 additions, 22 deletions...ackend/Classes/View/BackendLayout/Grid/LanguageColumn.php
- typo3/sysext/backend/Classes/View/BackendLayout/RecordRememberer.php 1 addition, 1 deletion...t/backend/Classes/View/BackendLayout/RecordRememberer.php
- typo3/sysext/backend/Classes/View/Drawing/BackendLayoutRenderer.php 5 additions, 8 deletions...xt/backend/Classes/View/Drawing/BackendLayoutRenderer.php
- typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php 42 additions, 18 deletions...ext/backend/Classes/View/Drawing/DrawingConfiguration.php
- typo3/sysext/backend/Classes/View/PageLayoutContext.php 8 additions, 7 deletionstypo3/sysext/backend/Classes/View/PageLayoutContext.php
- typo3/sysext/backend/Classes/View/PageViewMode.php 35 additions, 0 deletionstypo3/sysext/backend/Classes/View/PageViewMode.php
- typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html 4 additions, 4 deletions...ources/Private/Partials/PageLayout/Grid/ColumnHeader.html
- typo3/sysext/backend/Resources/Private/Partials/PageLayout/LanguageColumns.html 4 additions, 4 deletions...esources/Private/Partials/PageLayout/LanguageColumns.html
- typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html 3 additions, 3 deletions...backend/Resources/Private/Partials/PageLayout/Record.html
- typo3/sysext/backend/Resources/Private/Templates/PageLayout/PageLayout.html 1 addition, 1 deletion...nd/Resources/Private/Templates/PageLayout/PageLayout.html
- typo3/sysext/backend/Resources/Private/Templates/PageLayout/PageModule.html 1 addition, 1 deletion...nd/Resources/Private/Templates/PageLayout/PageModule.html
- typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php 33 additions, 8 deletions...sts/Functional/View/Drawing/BackendLayoutRendererTest.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 12 additions, 6 deletions...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Site/Entity/NullSite.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Site/Entity/NullSite.php
Please register or sign in to comment