From a833789085a966bef3a3dc4a3a5b790e88bc23c2 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Wed, 21 Jun 2023 09:19:29 +0200 Subject: [PATCH] [CLEANUP] Polish the code formatting in the TCA configuration (#861) Also choose a formatting that does not change if someone autoformats the file in PhpStorm (which allows developers to work on the file more easily). --- .../TCA/tx_tea_domain_model_product_tea.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Configuration/TCA/tx_tea_domain_model_product_tea.php b/Configuration/TCA/tx_tea_domain_model_product_tea.php index d3db950..49b4ac2 100644 --- a/Configuration/TCA/tx_tea_domain_model_product_tea.php +++ b/Configuration/TCA/tx_tea_domain_model_product_tea.php @@ -19,12 +19,13 @@ $tca = [ 'translationSource' => 'l10n_source', ], 'types' => [ - '1' => ['showitem' => ' - --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, - title, description, image, owner, - --div--;LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_product_tea.tabs.access, - --palette--;;access, - '], + '1' => [ + 'showitem' => + '--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, + title, description, image, owner, + --div--;LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_product_tea.tabs.access, + --palette--;;access,', + ], ], 'palettes' => [ 'access' => [ @@ -54,8 +55,8 @@ $tca = [ ], 'foreign_table' => 'tx_tea_domain_model_product_tea', 'foreign_table_where' => - 'AND {#tx_tea_domain_model_product_tea}.{#pid}=###CURRENT_PID###' - . ' AND {#tx_tea_domain_model_product_tea}.{#sys_language_uid} IN (-1,0)', + 'AND {#tx_tea_domain_model_product_tea}.{#pid}=###CURRENT_PID### + AND {#tx_tea_domain_model_product_tea}.{#sys_language_uid} IN (-1,0)', 'default' => 0, ], ],