Move category registration to correct file

This commit is contained in:
Björn Fromme
2019-06-06 18:38:31 +02:00
parent 2f93b0fbcf
commit 4c33a66b4a
2 changed files with 12 additions and 5 deletions
@@ -0,0 +1,12 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function () {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
'epproducts',
'tx_epproducts_domain_model_teammember'
);
});
@@ -1,10 +1,5 @@
<?php <?php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
'epproducts',
'tx_epproducts_domain_model_teammember'
);
return [ return [
'ctrl' => [ 'ctrl' => [
'title' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_teammember', 'title' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_teammember',