#106858Split settings.definition.yaml
Description
I would like to split the settings.definition.yaml into different yaml files in a site set to achieve a better overview, comparable to the integration of `*.typoscript` or `*.tsconfig` files.
For TYPO3 v13.4.13 I don’t see an option yet. I would love it if this could be done with TYPO3 v14.x.
Reviews 1
History 67
-
Chris Müller changed subject
settings.deffinition.yaml splittenSplit settings.definition.yaml <span data-processor="relativetime" data-value="2025-06-10T17:01:09+00:00" > 06/10/25, 17:01 </span> -
Andreas Kießling commented <span data-processor="relativetime" data-value="2025-06-12T10:08:06+00:00" > 06/12/25, 10:08 </span>
-
Oliver Hader changed target version <span data-processor="relativetime" data-value="2026-01-23T12:29:48+00:00" > 01/23/26, 12:29 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 92516 status
NewUnder Review <span data-processor="relativetime" data-value="2026-01-26T15:22:47+00:00" > 01/26/26, 15:22 </span> -
Eric Harrer commented <span data-processor="relativetime" data-value="2026-01-26T16:24:10+00:00" > 01/26/26, 16:24 </span>
Andreas Kießling wrote in #note-2:
> Do yaml imports work?
>
> https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Routing/Examples.html#routing-examples-imports
>
> If used that for my csp config as well with relative pathsNo, YAML imports do not work and are expressly not allowed.
See discussion here: https://review.typo3.org/c/Packages/TYPO3.CMS/+/92516 -
Eric Harrer commented <span data-processor="relativetime" data-value="2026-01-26T16:54:11+00:00" > 01/26/26, 16:54 </span>
The discussion in the associated patch review has shown that YAML imports in settings.definitions.yaml are deliberately not provided in order to keep site sets strictly self-contained and avoid unwanted dependencies.
The original goal of better structuring large settings files can already be achieved today by dividing them into multiple site sets with sub-dependencies. This approach is conceptually clean and offers additional advantages in UI structuring.
In my opinion, this issue has been sufficiently clarified and can be closed.
-
Garvin Hicking commented and changed status
Under ReviewClosed <span data-processor="relativetime" data-value="2026-01-26T16:55:12+00:00" > 01/26/26, 16:55 </span>Closed and solved via (from the patch discussion):
Yes, subdependencies within site sets seem to be a useful approach for splitting up large setting definitions. Thanks for the food for thought!
Do yaml imports work?
https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Routing/Examples.html#routing-examples-imports
If used that for my csp config as well with relative paths