Issue Feature Under Review Orphaned

#108248TCA: Migrate “config” array for each type

Daniel Windloff 11/22/25, 07:52 updated 04/21/26, 11:23

Description

For each column in TCA are two configuration sections:
The first is for labels, some language handling, access rights etc.
The second section set the type of the TCA column and it’s related configuration.

// Example column “mycolumn” in $GLOBALS[‘TCA’][‘mytable’][‘columns’]
‘mycolumn’ => [
// First section
‘exclude’ => true,
‘label’ => ‘mylabel’
‘config’ => [
// Second section
‘type’ => ‘number’,
‘format’ => ‘integer’
]
]

To simplify and streamline the configuration options, the second configuration section should be migrated to the first configuration section like:

‘mycolumn’ => [
‘exclude’ => true,
‘label’ => ‘mylabel’
‘type’ => ‘number’,
‘format’ => ‘integer’
]

To provide a migration path, the first step whould be to copy entries vom the one section to the other, where these configs are missing like

‘mycolumn’ => [
// First section
‘exclude’ => true,
‘label’ => ‘mylabel’
‘config’ => [
// Second section
‘type’ => ‘number’,
‘format’ => ‘integer’
],
‘type’ => ‘number’,
‘format’ => ‘integer’
]

Reviews 1

History 111

  1. Gerrit Code Review pushed patch set 12 for main to change 91423 status New Under Review <span data-processor="relativetime" data-value="2025-11-22T10:43:18+00:00" > 11/22/25, 10:43 </span>