mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 10:36:13 +01: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:
parent
bbe469169b
commit
a833789085
1 changed files with 9 additions and 8 deletions
|
@ -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,
|
||||
],
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue