tt_content categories field is not registered for all types
tt_content table gets its
categories field by the install tool configuration value:
The problem here is that most of the content types are defined in
Configuration/TCA/Overrides since #65922.
Since the Overrides for the TCA are processed after the global categories are registered (in
ExtensionManagementUtility::buildBaseTcaFromSingleFiles()), most of the content types are just left out when the
[FEATURE] Allow re-initialization of tt_content categories
The categories field for the tt_content table is re-initialized in
the TCA overrides file of css_styled_content.
For this to work a new method is added to the category registry
that allows overriding an existing registry entry.
Reviewed-by: Nicole Cordes <email@example.com>
Tested-by: Nicole Cordes <firstname.lastname@example.org>
Reviewed-by: Daniel Goerz <email@example.com>
Tested-by: Daniel Goerz <firstname.lastname@example.org>
Reviewed-by: Morton Jonuschat <email@example.com>
Tested-by: Morton Jonuschat <firstname.lastname@example.org>
Reviewed-by: Benni Mack <email@example.com>
Tested-by: Benni Mack <firstname.lastname@example.org>