[TASK] Consider subtype definition for sub schemata
In case a sub schema, e.g. `tt_content.list` makes use of the "subtypes" feature by defining the "subtype_value_field", corresponding configuration ("subtypes_addlist" and "subtypes_excludelist") is now evaluated in the TCA schema and added as further schema (third level) to the corresponding sub schema (second level). This will therefore look like the following: Schema "tt_content" -> Sub Schema "list" -> Subtype Schema "tx_blog_pi1" Via the "subtypes" feature it's only possible to add or remove existing fields from the corresponding sub schema. Also note that the subtype schemata can only be accessed using the getSubSchema() and getSubSchemata() methods on a sub schema. This means calling `$schemaFactory->getSchema('tt_content.list.tx_blog_pi1')` does not work intentionally! Resolves: #104929 Releases: main Change-Id: I10428e1129d5d23acce91cd7756f4f255a45c29b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86043 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
Jochen Roth <rothjochen@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Frank Nägler <frank.naegler@typo3.com> Reviewed-by:
Jochen Roth <rothjochen@gmail.com> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Frank Nägler <frank.naegler@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
parent
33700237
Please register or sign in to comment