config

config
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

      'input_1' => [ 
         'l10n_mode' => 'prefixLangTitle',
         'exclude' => 1,
         'label' => 'input_1 description',
         'description' => 'field description',
         'config' => [ 
            'type' => 'input',
            'behaviour' => [ 
               'allowLanguageSynchronization' => true,
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_basic"