config

config
Path

$GLOBALS['TCA'][$table]['columns'][$field]

Required

true

Type

array

Scope

Proc. / Display

Contains the main configuration properties of the fields display and processing behavior.

The possibilities for this array depend on the value of the array keys "type" and "renderType" within the array, see the dedicated section for details.

Examples

Simple input field

EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
'columns' => [
    'input_1' => [
        'l10n_mode' => 'prefixLangTitle',
        'exclude' => 1,
        'label' => 'input_1 description',
        'description' => 'field description',
        'config' => [
            'type' => 'input',
            'behaviour' => [
                'allowLanguageSynchronization' => true,
            ],
        ],
    ],
]