Review main Ready for review

97661[FEATURE] Add PSR-14 AfterUserTsConfigLoadedEvent

Benni Mack CR 0 V 0 Normal +225 −8 updated 11/19/26, 09:11

Commit message

The new event is dispatched after user TSconfig has been collected
from extensions, backend user groups and the backend user. TSconfig
added by a listener is evaluated last and can extend or override all
of these, which is the user TSconfig counterpart of the existing
ModifyLoadedPageTsConfigEvent.

Since ExtensionManagementUtility::addUserTSConfig() has been removed,
extensions had no way to add user TSconfig that is evaluated after
the TSconfig of other extensions.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/61/97661/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/61/97661/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 1

Issues 1

Files 4

Review log 56

  1. Benni Mack uploaded patch set 1 11/14/26, 18:23

  2. core-ci voted on patch set 1 V +1 11/14/26, 18:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114483

  3. Benni Mack marked it work in progress 11/14/26, 19:04

  4. Benni Mack marked it ready for review 11/18/26, 21:34

  5. Oli Bartsch commented on patch set 1 11/19/26, 09:03

    So we need this in v14 as well?
  6. Benni Mack commented on patch set 1 11/19/26, 09:11

    Reply Unresolved

    well, would have been good back then to also add this when we deprecated addUserTSConfig().