allowLanguageSynchronization behaviour

behaviour > allowLanguageSynchronization
Path

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

type

boolean

Scope

Proc.

Types

check, flex, group, imageManipulation, inline, input, radio

Allows an editor to select in a localized record whether the value is copied over from default or source language record, or if the field has an own value in the localization. If set to true and if the table supports localization and if a localized record is edited, this setting enables FieldWizard LocalizationStateSelector: Two or three radio buttons shown below the field input. The state of this is stored in a json encoded array in the database table called l10n_state. It tells the DataHandler which fields of the localization records should be kept in sync if the underlying default or source record changes.

Example:

'aField' => [
   'config' => [
      'type' = 'sometype',
      'behaviour' => [
           'allowLanguageSynchronization' => true
      ]
   ]
]
Copied!
Default
false