Move category registration to correct file

This commit is contained in:
Björn Fromme committed 2019-06-06 18:38:31 +02:00
1 parent 2f93b0fbcf
commit 4c33a66b4a
2 files changed
+12 -5

No files matched your search

@@ -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
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
'epproducts',
'tx_epproducts_domain_model_teammember'
);
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_teammember',