#86876TCA columnsOverrides ignores default value
Description
Defining a differnet default value for a field in the ‘types’ array doesn’t work.
For example it would be useful to set the default frame for a content element of type gridelement_pi1 to none. To do so the TCA might be overriden as following:
File: ext/myplugin/Configuration/TCA/Overrides/gridelements.php
File content:
$columnsOverrides = [];
$columnsOverrides['frame_class']['config'] = [
'default' => 'none',
];
$GLOBALS['TCA']['tt_content']['types']['gridelements_pi1'] = array_merge(
$GLOBALS['TCA']['tt_content']['types']['gridelements_pi1'],
['columnsOverrides' => $columnsOverrides]
);