From cf3405080e9b8a3c065af9c00c371f8357998dd1 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:31:05 +0200 Subject: [PATCH] Remove TSFE section from data chapter (#1724) The frontend user example is already mentioned at the beginning of the chapter, so no need to preserve it. Related: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/1074 Releases: main, 14.3 (cherry picked from commit 7c7a6e6a2bd9050f365b071e7def2e3076814a2c) --- Documentation/404.rst | 2 ++ Documentation/Functions/Data.rst | 41 +------------------------------- 2 files changed, 3 insertions(+), 40 deletions(-) diff --git a/Documentation/404.rst b/Documentation/404.rst index b15cba58..88b956a7 100644 --- a/Documentation/404.rst +++ b/Documentation/404.rst @@ -22,6 +22,8 @@ TYPO3 v14 .. _appendix-include-tsfe-feuser-migration: .. _appendix-include-tsfe-rootLine: .. _appendix-include-tsfe-table-row: +.. _data-type-gettext-tsfe: +.. _data-type-gettext-tsfe-example: TypoScriptFrontendController, TSFE ---------------------------------- diff --git a/Documentation/Functions/Data.rst b/Documentation/Functions/Data.rst index dedbe76a..e2bd801e 100644 --- a/Documentation/Functions/Data.rst +++ b/Documentation/Functions/Data.rst @@ -511,8 +511,7 @@ global :name: data-global :Syntax: global : [variable] - Deprecated. Use :ref:`data-type-gettext-gp`, :ref:`data-type-gettext-tsfe` or - :ref:`data-type-gettext-getenv`. + Deprecated. Use :ref:`data-type-gettext-gp` or :ref:`data-type-gettext-getenv`. .. _data-type-gettext-gp: @@ -1071,41 +1070,3 @@ Example: Access the redirects HTTP status code page.10 = TEXT page.10.data = siteSettings:redirects.httpStatusCode - - -.. _data-type-gettext-tsfe: - -TSFE ----- - -.. confval:: TSFE - :name: data-tsfe - :Syntax: TSFE: [value from the :php:`$GLOBALS['TSFE']` array, multi-dimensional] - - Returns a value from - :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController`. - - -.. versionchanged:: 13.0 - The following TypoScriptFrontendController (TSFE) properties have - been removed: - - * :php:`spamProtectEmailAddresses` - * :php:`intTarget` - * :php:`extTarget` - * :php:`fileTarget` - * :php:`baseUrl` - - Migrate these properties to the config property. You can access the - TypoScript properties directly, for example, via - :typoscript:`lib.something.data = TSFE : config | config | fileTarget` - -.. _data-type-gettext-tsfe-example: - -Example: Get the username field of the current frontend user -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -.. code-block:: typoscript - :caption: EXT:site_package/Configuration/TypoScript/setup.typoscript - - lib.foo.data = TSFE : fe_user | user | username