From 229ab85f0bb6526fa961f0d670a23f736f644b87 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sun, 8 May 2016 14:28:38 +0200 Subject: [PATCH] [CLEANUP] Code autoformat --- Classes/Utility/FileUtility.php | 2 +- Configuration/TCA/TeaBeverage.php | 2 +- Configuration/TypoScript/constants.txt | 3 +++ Configuration/TypoScript/setup.txt | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Classes/Utility/FileUtility.php b/Classes/Utility/FileUtility.php index 2247e04..aef54a8 100644 --- a/Classes/Utility/FileUtility.php +++ b/Classes/Utility/FileUtility.php @@ -24,7 +24,7 @@ class FileUtility /** * Concatenates the files given as $sourceFilePaths and writes their contents into $targetFilePath. * - * @param string $targetFilePath + * @param string $targetFilePath * @param string[] $sourceFilePaths * * @return void diff --git a/Configuration/TCA/TeaBeverage.php b/Configuration/TCA/TeaBeverage.php index f70091b..c5a2a3d 100644 --- a/Configuration/TCA/TeaBeverage.php +++ b/Configuration/TCA/TeaBeverage.php @@ -153,7 +153,7 @@ $GLOBALS['TCA']['tx_tea_domain_model_teabeverage'] = [ 'type' => 'inline', 'foreign_table' => 'tx_tea_domain_model_testimonial', 'foreign_field' => 'teabeverage', - 'maxitems' => 9999, + 'maxitems' => 9999, 'appearance' => [ 'collapseAll' => 0, 'levelLinksPosition' => 'top', diff --git a/Configuration/TypoScript/constants.txt b/Configuration/TypoScript/constants.txt index 9997dcb..c02a67c 100644 --- a/Configuration/TypoScript/constants.txt +++ b/Configuration/TypoScript/constants.txt @@ -7,12 +7,15 @@ plugin.tx_tea { # cat=plugin.tx_tea/file; type=string; label=Path to template layouts (FE) layoutRootPath = EXT:tea/Resources/Private/Layouts/ } + persistence { # cat=plugin.tx_tea//a; type=string; label=Default storage PID storagePid = # cat=plugin.tx_tea//a; type=int; label=UID of the page/folder where all new records will be created newRecordStoragePid = } + settings { + } } \ No newline at end of file diff --git a/Configuration/TypoScript/setup.txt b/Configuration/TypoScript/setup.txt index 6e5b131..2496d4e 100644 --- a/Configuration/TypoScript/setup.txt +++ b/Configuration/TypoScript/setup.txt @@ -4,9 +4,11 @@ plugin.tx_tea { partialRootPath = {$plugin.tx_tea.view.partialRootPath} layoutRootPath = {$plugin.tx_tea.view.layoutRootPath} } + persistence { storagePid = {$plugin.tx_tea.persistence.storagePid} } + features { rewrittenPropertyMapper = 1 }