subtypes_excludelist

subtypes_excludelist
Path

$GLOBALS['TCA'][$table]['types'][$type]

type

array

See property subtype_value_field.

Syntax:
"[field value]" => "[comma-separated list of fields (from the main types-config) which are removed]"

Examples

Remove fields for a certain subtype

Remove fields recursive and pages from the subtype example_registration:

$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']
   ['example_registration'] = 'recursive,pages';
Copied!