Skip to content

Commit

Permalink
[MAINTENANCE] Adjust language field in TCA (#1104)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Meyer <[email protected]>
  • Loading branch information
beatrycze-volk and sebastian-meyer authored Oct 10, 2024
1 parent 4e77a8f commit 6eb65e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 37 deletions.
11 changes: 1 addition & 10 deletions Configuration/TCA/tx_dlf_collections.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,7 @@
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0],
],
'default' => 0,
'onchange' => 'reload',
'type' => 'language'
],
],
'l18n_parent' => [
Expand Down
10 changes: 1 addition & 9 deletions Configuration/TCA/tx_dlf_libraries.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,7 @@
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0],
],
'default' => 0
'type' => 'language'
],
],
'l18n_parent' => [
Expand Down
10 changes: 1 addition & 9 deletions Configuration/TCA/tx_dlf_metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,7 @@
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0],
],
'default' => 0,
'type' => 'language'
],
],
'l18n_parent' => [
Expand Down
10 changes: 1 addition & 9 deletions Configuration/TCA/tx_dlf_structures.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,7 @@
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0],
],
'default' => 0
'type' => 'language'
],
],
'l18n_parent' => [
Expand Down

0 comments on commit 6eb65e3

Please sign in to comment.