#87364Slug generation wizard ignores columnsOverrides of TCA
Description
The slug generation wizard ignores the columnsOverrides of TCA. This makes it impossible to override the configuration for custom doktypes (in my example it’s a custom doktype with the ID 50). I tested it in a TYPO3 9.5.3 environment.
Code A (doesn’t work):
$GLOBALS['TCA']['pages']['types'][50]['columnsOverrides'] = [
'slug' => [
'config' => [
'generatorOptions' => [
'fields' => [
'title', 'nav_title'
],
'fieldSeparator' => '-',
'prefixParentPageSlug' => true,
]
]
]
];
Code B (works like a charm):
$GLOBALS['TCA']['pages']['columns']['slug']['config']['generatorOptions'] = [
'fields' => [
'title', 'nav_title'
],
'fieldSeparator' => '-',
'prefixParentPageSlug' => true,
];