[FEATURE] Allow cObject registration during runtime
Instead of having a hard-coded list of available content Objects with complex hook registration, any extension can now register its own cObject by adding or overwriting an AbstractContentObject in ext_localconf.php via $GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects'] This way it is also possible to move legacy content objects to other extensions than EXT:frontend. Resolves: #64386 Releases: master Change-Id: Iac3e13cb32fa99685c6ff9e284ff8c49b26f9759 Reviewed-on: http://review.typo3.org/36146 Reviewed-by:Helmut Hummel <helmut.hummel@typo3.org> Tested-by:
Helmut Hummel <helmut.hummel@typo3.org> Reviewed-by:
Benjamin Mack <benni@typo3.org> Tested-by:
Benjamin Mack <benni@typo3.org> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/core/Configuration/DefaultConfiguration.php 1 addition, 0 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-64386-ContentObjectRegistration.rst 22 additions, 0 deletions...ngelog/master/Feature-64386-ContentObjectRegistration.rst
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 40 additions, 40 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php 6 additions, 0 deletions...nctional/ContentObject/FluidTemplateContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/CaseContentObjectTest.php 7 additions, 4 deletions...ontend/Tests/Unit/ContentObject/CaseContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 52 additions, 40 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/FilesContentObjectTest.php 9 additions, 2 deletions...ntend/Tests/Unit/ContentObject/FilesContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php 1 addition, 1 deletion...sts/Unit/ContentObject/FluidTemplateContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/Plugin/AbstractPluginTest.php 7 additions, 1 deletion.../sysext/frontend/Tests/Unit/Plugin/AbstractPluginTest.php
- typo3/sysext/frontend/ext_localconf.php 38 additions, 0 deletionstypo3/sysext/frontend/ext_localconf.php
Please register or sign in to comment