mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 04:36:12 +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',
|
'translationSource' => 'l10n_source',
|
||||||
],
|
],
|
||||||
'types' => [
|
'types' => [
|
||||||
'1' => ['showitem' => '
|
'1' => [
|
||||||
--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
|
'showitem' =>
|
||||||
|
'--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
|
||||||
title, description, image, owner,
|
title, description, image, owner,
|
||||||
--div--;LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_product_tea.tabs.access,
|
--div--;LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_product_tea.tabs.access,
|
||||||
--palette--;;access,
|
--palette--;;access,',
|
||||||
'],
|
],
|
||||||
],
|
],
|
||||||
'palettes' => [
|
'palettes' => [
|
||||||
'access' => [
|
'access' => [
|
||||||
|
@ -54,8 +55,8 @@ $tca = [
|
||||||
],
|
],
|
||||||
'foreign_table' => 'tx_tea_domain_model_product_tea',
|
'foreign_table' => 'tx_tea_domain_model_product_tea',
|
||||||
'foreign_table_where' =>
|
'foreign_table_where' =>
|
||||||
'AND {#tx_tea_domain_model_product_tea}.{#pid}=###CURRENT_PID###'
|
'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}.{#sys_language_uid} IN (-1,0)',
|
||||||
'default' => 0,
|
'default' => 0,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue