<div dir="ltr">Hi,<div><br></div><div>I&#39;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(&#39;TYPO3\\CMS\\Core\\Resource\\Collection\\CollectionRegistry&#39;);</div>
<div>$registry-&gt;add(&#39;myKey&#39;, &#39;myLabel&#39;, array(&#39;some extra tca configuration&#39;);</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[&#39;TYPO3_CONF_VARS&#39;]</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[&#39;TYPO3_CONF_VARS&#39;] 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>