[FEATURE] Allow re-initialization of tt_content categories 34/40834/12
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Mon, 14 Sep 2015 14:36:20 +0000 (16:36 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 15 Sep 2015 19:05:03 +0000 (21:05 +0200)
commit3dc9b5dbff516139cd4bb4a839cbf928d20c2639
tree91e27b2a39f8d2db685903b8d59a71e290ef1f4c
parent4c92f935c17eed0dcce3decf82e919915843df4d
[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.

Resolves: #67875
Releases: master
Change-Id: I1a9ba30982216402d3fe8e2d3e48ed27a8807df2
Reviewed-on: http://review.typo3.org/40834
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Category/CategoryRegistry.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Documentation/Changelog/master/Feature-67875-OverrideCategoryRegistryEntry.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Category/CategoryRegistryTest.php
typo3/sysext/css_styled_content/Configuration/TCA/Overrides/tt_content.php