[TYPO3-dev] Change TCA with ExtensionManagementUtility

Stefan Padberg post at bergische-webschmiede.de
Wed Mar 9 13:07:32 CET 2016


Hi,

I have to change the TCA.

Adding columns and fields to palettes is easily done with the
appropriate methodes 'addTCAcolumns', 'addToAllTCATypes',
'addFieldsToPalette' and 'addFieldsToAllPalettesOfField'.

But how can I delete fields from types and palettes? I cannot find
appropriate methods in the ExtensionManagementUtility.

I only know

$GLOBALS['TCA']['my_extension']['palettes'][10]['showItem'] =
'field1,field2,field3';

Is this recommended?

Best regards
Stefan


-- 
Bergische Webschmiede
Dipl.-Ing. Stefan Padberg
TYPO3-Integrator und Webprogrammierer
:: Borner Str. 18 - 42349 Wuppertal
:: +49 202 97648355
:: +49 173 9219845
:: post at bergische-webschmiede.de
:: http://www.bergische-webschmiede.de



More information about the TYPO3-dev mailing list