From 44c282c2530312a38e7d68cf530878af71a192f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Thu, 14 May 2026 06:33:56 +0200 Subject: [PATCH] Remove mention of TSFE in LOAD_REGISTER (#1722) Actually, the LoadRegisterContentObject is responsible for handling LOAD_REGISTER nowadays. The internal RegisterStack is stored in the internal frontend.register.stack request attribute. The sentence is therefore removed completely, as the handling is an internal implementation detail and should not matter to the user. Related: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/1074 Releases: main, 14.3 (cherry picked from commit a60c77b8388c4814eda88b1851e717077f8ab0ee) --- Documentation/ContentObjects/LoadRegister/Index.rst | 3 --- Documentation/Functions/Data.rst | 2 +- Documentation/Guide/TypoScriptObjects/FurtherObjects/Index.rst | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Documentation/ContentObjects/LoadRegister/Index.rst b/Documentation/ContentObjects/LoadRegister/Index.rst index 2726386e5..9e134cf3f 100644 --- a/Documentation/ContentObjects/LoadRegister/Index.rst +++ b/Documentation/ContentObjects/LoadRegister/Index.rst @@ -8,9 +8,6 @@ LOAD\_REGISTER ============== -This provides a way to load the array :php:`$GLOBALS['TSFE']->register[]` -with values. It does not return anything! - The register is working like a stack: With each call new content can be put on top of the stack. :ref:`RESTORE_REGISTER ` can be used to remove the element at the topmost position again. diff --git a/Documentation/Functions/Data.rst b/Documentation/Functions/Data.rst index c1e1db335..95bf70d2e 100644 --- a/Documentation/Functions/Data.rst +++ b/Documentation/Functions/Data.rst @@ -808,7 +808,7 @@ register .. confval:: register :name: data-register - :Syntax: register: [field name from the :php:`$GLOBALS['TSFE']->register`] + :Syntax: register: [field name from the register stack] See :ref:`LOAD_REGISTER `. diff --git a/Documentation/Guide/TypoScriptObjects/FurtherObjects/Index.rst b/Documentation/Guide/TypoScriptObjects/FurtherObjects/Index.rst index 1b5a00378..00c622eb1 100644 --- a/Documentation/Guide/TypoScriptObjects/FurtherObjects/Index.rst +++ b/Documentation/Guide/TypoScriptObjects/FurtherObjects/Index.rst @@ -19,7 +19,7 @@ Further objects * :ref:`LOAD\_REGISTER ` / :ref:`RESTORE\_REGISTER ` objects allow us to - fill the global array `$GLOBALS['TSFE']->register[]` with content. + fill the register stack with content. These objects return nothing. Single values and complete TypoScript objects can be used. In doing so, the register works as a stack: With every call, a further element is stacked. With