mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-20 00:36:14 +02:00

[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).
This commit is contained in:
Oliver Klee 2023-06-21 09:19:29 +02:00 committed by GitHub
parent bbe469169b
commit a833789085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,12 +19,13 @@ $tca = [
'translationSource' => 'l10n_source',
],
'types' => [
'1' => ['showitem' => '
--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
'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,
'],
--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,
],
],