#108248TCA: Migrate “config” array for each type
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
-
Gerrit Code Review pushed patch set 12 for main to change 91423 status
NewUnder Review <span data-processor="relativetime" data-value="2025-11-22T10:43:18+00:00" > 11/22/25, 10:43 </span> -
Gerrit Code Review pushed patch set 13 for main to change 91423 <span data-processor="relativetime" data-value="2025-11-22T15:47:38+00:00" > 11/22/25, 15:47 </span>
-
Gerrit Code Review pushed patch set 14 for main to change 91423 <span data-processor="relativetime" data-value="2025-11-22T20:02:36+00:00" > 11/22/25, 20:02 </span>
-
Gerrit Code Review pushed patch set 15 for main to change 91423 <span data-processor="relativetime" data-value="2025-11-28T09:54:57+00:00" > 11/28/25, 09:54 </span>
-
Gerrit Code Review pushed patch set 16 for main to change 91423 <span data-processor="relativetime" data-value="2025-11-30T08:09:30+00:00" > 11/30/25, 08:09 </span>
-
Gerrit Code Review pushed patch set 17 for main to change 91423 <span data-processor="relativetime" data-value="2026-02-02T10:58:59+00:00" > 02/02/26, 10:58 </span>
-
Gerrit Code Review pushed patch set 18 for main to change 91423 <span data-processor="relativetime" data-value="2026-02-14T08:16:48+00:00" > 02/14/26, 08:16 </span>
-
Gerrit Code Review pushed patch set 19 for main to change 91423 <span data-processor="relativetime" data-value="2026-02-14T08:28:44+00:00" > 02/14/26, 08:28 </span>
-
Gerrit Code Review pushed patch set 20 for main to change 91423 <span data-processor="relativetime" data-value="2026-02-14T08:40:29+00:00" > 02/14/26, 08:40 </span>
-
Gerrit Code Review pushed patch set 21 for main to change 91423 <span data-processor="relativetime" data-value="2026-02-14T12:00:40+00:00" > 02/14/26, 12:00 </span>
-
Benni Mack changed target version <span data-processor="relativetime" data-value="2026-04-21T11:23:01+00:00" > 04/21/26, 11:23 </span>