I'm updating a TYPO3 v8.7 to TYPO3 10.4 LTS
In the TCA we have a pageType with a showitem of our choice. In v8 we used the following to have a custom view for a translated page eg. pages_language_overlay
$GLOBALS['TCA']['pages_language_overlay']['types'][$doktype] = array_replace_recursive(
$GLOBALS['TCA']['pages_language_overlay']['types'][$doktype],
[
'showitem' => '
myCustomShowItemString
'
]
);
Question: What would be the correct way to get have this behaviour again since pages_language_overlay does not exist anymore?
TCA - file which has to be loaded after custom fields
And for Typoscript
Solved above