Skip to content

Commit 393d38b

Browse files
committed
Fix deprecation notice for sys_language_uid
> The TCA field 'sys_language_uid' of table 'tx_cetimeline_domain_model_entry' is defined > as the 'languageField' and should therefore use the TCA type 'language' > instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages' https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.2/Feature-57082-NewTCATypeLanguage.html
1 parent dd67318 commit 393d38b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Configuration/TCA/tx_cetimeline_domain_model_entry.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,7 @@
4848
'exclude' => true,
4949
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
5050
'config' => [
51-
'type' => 'select',
52-
'renderType' => 'selectSingle',
53-
'special' => 'languages',
54-
'items' => [
55-
[
56-
'LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages',
57-
-1,
58-
'flags-multiple'
59-
]
60-
],
61-
'default' => 0,
51+
'type' => 'language',
6252
],
6353
],
6454
'l10n_parent' => [

0 commit comments

Comments
 (0)