[TASK] Refactor fluid page module components
Refactoring with the goal of: * Restoring entity-like nature of BackendLayout * Decreasing coupling between components of the page module processing and rendering. Implements a PageLayoutContext to hold all context-related objects and methods and passes the context to objects instead of passing the BackendLayout. Reduces number of methods on DrawingConfiguration so the configuration object only holds output- and behavior-related options and does not hold things like permission checks. Releases: master Resolves: #90882 Change-Id: I09f1d97a53a76ea96d6cbc18bb5549127b5a1a71 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64002 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Controller/PageLayoutController.php 19 additions, 12 deletions...ysext/backend/Classes/Controller/PageLayoutController.php
- typo3/sysext/backend/Classes/Preview/StandardContentPreviewRenderer.php 6 additions, 6 deletions...ackend/Classes/Preview/StandardContentPreviewRenderer.php
- typo3/sysext/backend/Classes/View/BackendLayout/BackendLayout.php 0 additions, 112 deletions...sext/backend/Classes/View/BackendLayout/BackendLayout.php
- typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php 56 additions, 48 deletions...ext/backend/Classes/View/BackendLayout/ContentFetcher.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/AbstractGridObject.php 7 additions, 7 deletions...nd/Classes/View/BackendLayout/Grid/AbstractGridObject.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/Grid.php 1 addition, 11 deletions...3/sysext/backend/Classes/View/BackendLayout/Grid/Grid.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php 13 additions, 30 deletions...xt/backend/Classes/View/BackendLayout/Grid/GridColumn.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php 17 additions, 33 deletions...ackend/Classes/View/BackendLayout/Grid/GridColumnItem.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/LanguageColumn.php 25 additions, 78 deletions...ackend/Classes/View/BackendLayout/Grid/LanguageColumn.php
- typo3/sysext/backend/Classes/View/BackendLayout/RecordRememberer.php 8 additions, 0 deletions...t/backend/Classes/View/BackendLayout/RecordRememberer.php
- typo3/sysext/backend/Classes/View/Drawing/BackendLayoutRenderer.php 91 additions, 19 deletions...xt/backend/Classes/View/Drawing/BackendLayoutRenderer.php
- typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php 34 additions, 206 deletions...ext/backend/Classes/View/Drawing/DrawingConfiguration.php
- typo3/sysext/backend/Classes/View/PageLayoutContext.php 366 additions, 0 deletionstypo3/sysext/backend/Classes/View/PageLayoutContext.php
- typo3/sysext/backend/Classes/View/PageLayoutView.php 11 additions, 10 deletionstypo3/sysext/backend/Classes/View/PageLayoutView.php
- typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/Column.html 3 additions, 3 deletions...nd/Resources/Private/Partials/PageLayout/Grid/Column.html
- typo3/sysext/backend/Resources/Private/Partials/PageLayout/LanguageColumns.html 19 additions, 19 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/UnusedRecords.html 1 addition, 1 deletion...Resources/Private/Templates/PageLayout/UnusedRecords.html
Please register or sign in to comment