From 8db85d6cc91144b8f3c089315ebaac03d0744121 Mon Sep 17 00:00:00 2001 From: Kevin von Spiczak <kevin.spiczak@sgalinski.de> Date: Thu, 24 Sep 2020 11:33:36 +0200 Subject: [PATCH] [TASK] update sys_language_uid in TCA & formatting --- Configuration/TCA/tx_sgmail_domain_model_layout.php | 12 ++++++++---- Configuration/TCA/tx_sgmail_domain_model_mail.php | 3 ++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Configuration/TCA/tx_sgmail_domain_model_layout.php b/Configuration/TCA/tx_sgmail_domain_model_layout.php index f40c484d..040a8b38 100644 --- a/Configuration/TCA/tx_sgmail_domain_model_layout.php +++ b/Configuration/TCA/tx_sgmail_domain_model_layout.php @@ -64,21 +64,25 @@ $columns = [ ], ], 'sys_language_uid' => [ - 'exclude' => true, + 'exclude' => TRUE, 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language', 'config' => [ 'type' => 'select', 'renderType' => 'selectSingle', + 'special' => 'languages', '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] + [ + 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', + -1, + 'flags-multiple' + ] ], 'default' => 0, 'fieldWizard' => [ 'selectIcons' => [ - 'disabled' => false, + 'disabled' => FALSE, ], ], ] diff --git a/Configuration/TCA/tx_sgmail_domain_model_mail.php b/Configuration/TCA/tx_sgmail_domain_model_mail.php index 1895df9b..12fe86e4 100644 --- a/Configuration/TCA/tx_sgmail_domain_model_mail.php +++ b/Configuration/TCA/tx_sgmail_domain_model_mail.php @@ -193,7 +193,8 @@ $columns = [ 'collapseAll' => TRUE ], 'maxitems' => 9999 - ]) + ] + ) ] ] ]; -- GitLab