Commit 10773667 authored by Thomas Löffler's avatar Thomas Löffler

[TASK] Change TCA files to tablename.php

parent ad735594
...@@ -62,7 +62,7 @@ foreach ($models as $modelName => $modelConfiguration) { ...@@ -62,7 +62,7 @@ foreach ($models as $modelName => $modelConfiguration) {
'enablecolumns' => array( 'enablecolumns' => array(
'disabled' => 'hidden' 'disabled' => 'hidden'
), ),
'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/' . ucfirst($modelName) . '.php', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/tx_terfe2_domain_model_' . $modelName . '.php',
'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/' . $modelName . '.gif', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/' . $modelName . '.gif',
), ),
); );
...@@ -74,7 +74,7 @@ $GLOBALS['TCA']['tx_terfe2_domain_model_search'] = array ( ...@@ -74,7 +74,7 @@ $GLOBALS['TCA']['tx_terfe2_domain_model_search'] = array (
'hideTable' => TRUE, 'hideTable' => TRUE,
'tstamp' => 'tstamp', 'tstamp' => 'tstamp',
'crdate' => 'crdate', 'crdate' => 'crdate',
'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Search.php', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/tx_terfe2_domain_model_search.php',
), ),
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment