[TASK] Centralize Page Layout resolving
This change centralizes Frontend's "PageLayoutResolver", used in TypoScript, and BackendLayoutView logic to find the used page layout, while also modelling more towards an object within PageLayout which can be used at a later stage in FE to retrieve more information. At the same time, some BackendLayoutView code is reduced now. Resolves: #103466 Releases: main Change-Id: I716fe7313894aac92e5519a6b725feefff908270 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83567 Tested-by:Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/backend/Classes/View/BackendLayoutView.php 17 additions, 51 deletionstypo3/sysext/backend/Classes/View/BackendLayoutView.php
- typo3/sysext/backend/Tests/Functional/View/BackendLayoutViewTest.php 3 additions, 15 deletions...t/backend/Tests/Functional/View/BackendLayoutViewTest.php
- typo3/sysext/core/Classes/Page/PageLayout.php 49 additions, 0 deletionstypo3/sysext/core/Classes/Page/PageLayout.php
- typo3/sysext/core/Classes/Page/PageLayoutResolver.php 134 additions, 0 deletionstypo3/sysext/core/Classes/Page/PageLayoutResolver.php
- typo3/sysext/core/Classes/TypoScript/IncludeTree/Visitor/IncludeTreeConditionMatcherVisitor.php 2 additions, 2 deletions...ncludeTree/Visitor/IncludeTreeConditionMatcherVisitor.php
- typo3/sysext/core/Configuration/Services.yaml 3 additions, 0 deletionstypo3/sysext/core/Configuration/Services.yaml
- typo3/sysext/core/Tests/Functional/Page/PageLayoutResolverTest.php 87 additions, 0 deletions...ext/core/Tests/Functional/Page/PageLayoutResolverTest.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 2 additions, 2 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/webhooks/Tests/Functional/WebhookExecutionTest.php 2 additions, 3 deletions...sysext/webhooks/Tests/Functional/WebhookExecutionTest.php
Please register or sign in to comment