Sites and configuration · Question 8 of 12
How do you attach a site set such as typo3/fluid-styled-content to a site in TYPO3 v14?
1 answer is correct. Easy
Show answer
Answer
- A You add the name of the set to the site's config.yaml under dependencies
Explanation
Site sets bundle TypoScript, page TSconfig, settings and, since v14, route enhancers into a reusable package. A site uses a set when it is listed in the site's config.yaml under dependencies, for example dependencies: [typo3/fluid-styled-content]; in the backend this can also be done in the site editor. Sets can depend on other sets themselves, and TYPO3 then loads them in the correct order. There is no need to copy files: the set stays in its extension and is only referenced.