From b7d222de44cf8fd34eb1f9a50bdd22b091d6632f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Mon, 16 Oct 2023 09:56:02 +0200 Subject: [PATCH] [TASK] Reference BeforeLoadedUserTsConfigEvent in "Setting user TSconfig" chapter Additionally, fix some wordings as drive-by. Related: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/646 Releases: main --- Documentation/UsingSetting/UserTSconfig.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/UsingSetting/UserTSconfig.rst b/Documentation/UsingSetting/UserTSconfig.rst index eb88cdac..67bfc58c 100644 --- a/Documentation/UsingSetting/UserTSconfig.rst +++ b/Documentation/UsingSetting/UserTSconfig.rst @@ -57,7 +57,7 @@ Setting default user TSconfig ============================= .. versionadded:: 13.0 - Starting with TYPO3 v12.0 page TSconfig in a file named + Starting with TYPO3 v13.0 user TSconfig in a file named :file:`Configuration/user.tsconfig` in an extension is automatically loaded during build time. @@ -65,7 +65,7 @@ User TSconfig is designed to be individual for users or groups of users. However, good defaults can be defined and overridden by group or user-specific TSconfig. -Default page TSconfig should be stored within an extension, usually a +Default user TSconfig should be stored within an extension, usually a sitepackage extension. The content of the file :file:`Configuration/user.tsconfig` within an extension is automatically loaded during build time. @@ -78,6 +78,8 @@ this file: @import 'EXT:my_sitepackage/Configuration/TsConfig/User/default.tsconfig' +The PSR-14 event :ref:`t3coreapi:BeforeLoadedUserTsConfigEvent` is available to +add global static user TSconfig before anything else is loaded. User TSconfig, compatible with TYPO3 v12 and v13 ------------------------------------------------