#109209Add ModifyLoadedUserTsConfigEvent (similar to ModifyLoadedPageTsConfigEvent)
Description
- BeforeLoadedUserTsConfigEvent
- user.tsconfig from installed packages
- TSconfig from backend user groups
- TSconfig from the backend user
Before TYPO3 v14 it was possible to modify the resulting UserTSconfig after loading by using
ExtensionManagementUtility::addUserTSConfig(). This allowed extensions to adjust the final configuration using operators such as addToList() or removeFromList().
With the removal of that function, this approach is no longer possible in the same way, as far as I can tell.
Proposal :
Introduce a new PSR-14 event: ModifyLoadedUserTsConfigEvent
as a final step after the complete UserTSconfig has been assembled, similar to ModifyLoadedPageTsConfigEvent.
- BeforeLoadedUserTsConfigEvent
- user.tsconfig from installed packages
- TSconfig from backend user groups
- TSconfig from the backend user
- ModifyLoadedUserTsConfigEvent
This would allow extensions to safely modify the final configuration.
Use case:
In our extension we dynamically add UserTSconfig depending on the loaded TCA.
For example, we add custom doktype icons to the page tree drag area:
options.pageTree.doktypesToShowInNewPageDragArea := addToList(<doktypes>)
Previously this was done in BootCompletedEvent via ExtensionManagementUtility::addUserTSConfig(…)
This ensured that our configuration was applied after other extensions or user/group TSconfig potentially modified the same setting.
With the current loading sequence in TYPO3 v14, there is no reliable extension point to modify the fully assembled UserTSconfig.
Introducing ModifyLoadedUserTsConfigEvent would provide a clean and consistent solution, analogous to the existing ModifyLoadedPageTsConfigEvent.
Reviews 1
History 12
-
Garvin Hicking changed category target version <span data-processor="relativetime" data-value="2026-03-11T21:09:01+00:00" > 03/11/26, 21:09 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 97661 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-14T18:23:14+00:00" > 11/14/26, 18:23 </span>