Add dropdown values depending on ctype
# Add Layout for squares, ctype textmedia only, layout is the typo3 field name TCEFORM.tt_content.layout { # Just remove em all removeItems = 0,1,2,3,4,5,6,7,90 altLabels.1 = LLL:EXT:extension_key/Resources/Private/Language/locallang_db.xlf:headline.1 addItems { 6 = Label 1 7 = Label 2 } types { # ctype name textmedia { keepItems = 6,7 } menu_pages { keepItems = 8,9 } } }