[FEATURE] Introduce site sets with setting definitions
Site sets ship parts of site configuration as composable pieces. They are intended to deliver settings, TypoScript, TSConfig and reference enabled content blocks for the scope of a site. Extensions can provide multiple sets in order to ship presets for different sites or subsets (think of frameworks) where selected features are exposed as a subset (example: `typo3/seo-xml-sitemap`). A set is defined in an extensions subfolder in :file:`Configuration/Sets/`, for example :file:`EXT:my_extension/Configuration/Sets/MySet/config.yaml`. The folder name in :file:`Configuration/Sets/` is arbitrary, significant is the `name` defined in :file:`config.yaml`. The `name` uses a `vendor/name` scheme by convention, and *should* use the same vendor as the containing extension. It may differ if needed for compatibility reasons (e.g. when sets are moved to other extensions). TypoScript and PageTS providers will be added in subsequent changes (#103439, #103522). Technical notes: * Sets whose dependencies can not be fullfilled (are unavailable) will log an error in the TYPO3 error log and will be ignored. This is to ensure a broken set of one site does not break another site, if their dependencies can be resolved. * All settings interfaces are marked @internal for now, since they may change until v13 LTS. It is planned to remove the @internal annotation prior to the LTS release. Releases: main Resolves: #103437 Related: #103439 Related: #103522 Change-Id: I01cf60a837a69ea2216c9d8cd5ec9fbacacb5ece Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82191 Tested-by:Benjamin Kott <benjamin.kott@outlook.com> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benjamin Kott <benjamin.kott@outlook.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/backend/Classes/Configuration/TCA/ItemsProcessorFunctions.php 12 additions, 0 deletions...end/Classes/Configuration/TCA/ItemsProcessorFunctions.php
- typo3/sysext/backend/Classes/Controller/SiteConfigurationController.php 11 additions, 5 deletions...ackend/Classes/Controller/SiteConfigurationController.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/SiteDatabaseEditRow.php 6 additions, 1 deletion...end/Classes/Form/FormDataProvider/SiteDatabaseEditRow.php
- typo3/sysext/backend/Configuration/SiteConfiguration/site.php 11 additions, 1 deletion...3/sysext/backend/Configuration/SiteConfiguration/site.php
- typo3/sysext/backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf 3 additions, 0 deletions...rces/Private/Language/locallang_siteconfiguration_tca.xlf
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteDatabaseEditRowTest.php 5 additions, 0 deletions...ts/Unit/Form/FormDataProvider/SiteDatabaseEditRowTest.php
- typo3/sysext/core/Classes/Command/SiteSetsListCommand.php 74 additions, 0 deletionstypo3/sysext/core/Classes/Command/SiteSetsListCommand.php
- typo3/sysext/core/Classes/Configuration/SiteConfiguration.php 3 additions, 29 deletions...3/sysext/core/Classes/Configuration/SiteConfiguration.php
- typo3/sysext/core/Classes/Package/AbstractServiceProvider.php 37 additions, 0 deletions...3/sysext/core/Classes/Package/AbstractServiceProvider.php
- typo3/sysext/core/Classes/Settings/SettingDefinition.php 45 additions, 0 deletionstypo3/sysext/core/Classes/Settings/SettingDefinition.php
- typo3/sysext/core/Classes/Settings/Settings.php 51 additions, 0 deletionstypo3/sysext/core/Classes/Settings/Settings.php
- typo3/sysext/core/Classes/Settings/SettingsInterface.php 32 additions, 0 deletionstypo3/sysext/core/Classes/Settings/SettingsInterface.php
- typo3/sysext/core/Classes/Settings/SettingsTypeInterface.php 31 additions, 0 deletionstypo3/sysext/core/Classes/Settings/SettingsTypeInterface.php
- typo3/sysext/core/Classes/Settings/SettingsTypeRegistry.php 42 additions, 0 deletionstypo3/sysext/core/Classes/Settings/SettingsTypeRegistry.php
- typo3/sysext/core/Classes/Settings/Type/BoolType.php 77 additions, 0 deletionstypo3/sysext/core/Classes/Settings/Type/BoolType.php
- typo3/sysext/core/Classes/Settings/Type/ColorType.php 145 additions, 0 deletionstypo3/sysext/core/Classes/Settings/Type/ColorType.php
- typo3/sysext/core/Classes/Settings/Type/IntType.php 55 additions, 0 deletionstypo3/sysext/core/Classes/Settings/Type/IntType.php
- typo3/sysext/core/Classes/Settings/Type/NumberType.php 67 additions, 0 deletionstypo3/sysext/core/Classes/Settings/Type/NumberType.php
- typo3/sysext/core/Classes/Settings/Type/StringListType.php 63 additions, 0 deletionstypo3/sysext/core/Classes/Settings/Type/StringListType.php
- typo3/sysext/core/Classes/Settings/Type/StringType.php 54 additions, 0 deletionstypo3/sysext/core/Classes/Settings/Type/StringType.php
Please register or sign in to comment