<div dir="ltr">Hi,<div><br></div><div>I'm looking for a solution to add some info to the configuration and TCA with a nice API without polluting the cached bootstrap more then necessary.</div><div>My use-case for this is registering your own RecordCollection or FileCollection type <a href="http://forge.typo3.org/issues/53910">http://forge.typo3.org/issues/53910</a></div>
<div><br></div><div>So I want to call something like:</div><div><br></div><div><div>$registry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\Collection\\CollectionRegistry');</div>
<div>$registry->add('myKey', 'myLabel', array('some extra tca configuration');</div></div><div><br></div><div>The result would be some extra info in <span style="color:rgb(0,0,0);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:12px">$GLOBALS['TYPO3_CONF_VARS']</span> or something similar and the TCA updated before it gets cached.</div>
<div>When the registry is asked for the registered types is can read this from the cached <span style="color:rgb(0,0,0);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:12px">$GLOBALS['TYPO3_CONF_VARS'] info.</span></div>
<div><span style="color:rgb(0,0,0);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:12px"><br></span></div><div>Can I add this to ext_tables.php, is the result of that cached or is this also executed on every hit?</div>
<div><br></div><div>gr. Frans</div></div>