summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-01-31 21:30:31 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-01-31 21:30:31 +0100
commit37119f54407b43b837eb2484fd86881dcf470f15 (patch)
tree42bd30210516d83ca12afad683614d3ed5196fc8
parenteedd0f5ae27e698513c03b0c8b2fc57b645bb817 (diff)
downloadextbase-generator-cli-37119f54407b43b837eb2484fd86881dcf470f15.tar.gz
extbase-generator-cli-37119f54407b43b837eb2484fd86881dcf470f15.tar.bz2
extbase-generator-cli-37119f54407b43b837eb2484fd86881dcf470f15.zip
add model: Readable formating in ext_tables.php
-rwxr-xr-xadd_extbase_model.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/add_extbase_model.sh b/add_extbase_model.sh
index 156fdcd..1d42a77 100755
--- a/add_extbase_model.sh
+++ b/add_extbase_model.sh
@@ -81,8 +81,11 @@ EOL
cat >> ext_tables.php << EOL
-\\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility::addLLrefForTCAdescr('${tablename}', 'EXT:${extension}/Resources/Private/Language/locallang_csh_${tablename}.xlf');
\\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility::allowTableOnStandardPages('${tablename}');
+\\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility::addLLrefForTCAdescr(
+ '${tablename}',
+ 'EXT:${extension}/Resources/Private/Language/locallang_csh_${tablename}.xlf'
+);
EOL