[TYPO3-dev] Replacement for t3lib_extMgm to add fields to TCA

Lorenz Ulrich lorenz-typo3 at visol.ch
Wed Feb 27 18:10:18 CET 2013


Hi Sacha

The methods inside this class are not deprecated, but calling them 
without using the new namespaced class:

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(......

Best regards,

Lorenz

Am 27.02.2013 17:19, schrieb Sacha Vorbeck:
> Hi,
>
> I use the following lines to add a field to the tt_content TCA:
>
> t3lib_div::loadTCA('tt_content');
> t3lib_extMgm::addTCAcolumns('tt_content',$additionalContentFields,1);
> t3lib_extMgm::addToAllTCAtypes('tt_content','tx_masterconfig_sliderimage;;;;1-1-1','menu',
> 'after:menu_type');
>
> now I read somewhere that t3lib_extMgm is deprecated and will be dropped
> in 7.0. Can someone tell me what I should use instead?
>




More information about the TYPO3-dev mailing list