From b18cf435e58214bd8b5a5fd1c099d3fe3f160526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Tue, 23 Jan 2024 13:35:25 +0100 Subject: [PATCH] [TASK] #102873 - Add localRootLine to PageInformation (#3923) Related: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/797 Releases: main --- .../RequestAttributes/FrontendPageInformation.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/ApiOverview/RequestLifeCycle/RequestAttributes/FrontendPageInformation.rst b/Documentation/ApiOverview/RequestLifeCycle/RequestAttributes/FrontendPageInformation.rst index 7f269b0a28..74d6b49e92 100644 --- a/Documentation/ApiOverview/RequestLifeCycle/RequestAttributes/FrontendPageInformation.rst +++ b/Documentation/ApiOverview/RequestLifeCycle/RequestAttributes/FrontendPageInformation.rst @@ -15,9 +15,9 @@ Frontend page information .. attention:: The class is currently still marked as experimental. However, extension authors are encouraged to use information from this request attribute - instead of the :php:`TyposcriptFrontendController` properties already: TYPO3 - Core v13 will try to not break especially the getters / properties not - marked as :php:`@internal`. + instead of the :php:`TyposcriptFrontendController` (TSFE) properties + already: TYPO3 Core v13 will try to not break especially the getters / + properties not marked as :php:`@internal`. The :php:`frontend.page.information` frontend request attribute provides frequently used page information. The attribute is attached to the PSR-7 @@ -39,5 +39,8 @@ of that attribute. // Formerly $tsfe->rootLine $rootLine = $pageInformation->getRootLine(); + // Formerly $tsfe->config['rootLine'] + $rootLine = $pageInformation->getLocalRootLine(); + .. todo: Add API when class is not marked as internal anymore