Remove unsupported tca config
This commit is contained in:
-30
@@ -1,30 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
defined('TYPO3_MODE') or die();
|
|
||||||
|
|
||||||
call_user_func(function() {
|
|
||||||
|
|
||||||
$temporaryColumns = [
|
|
||||||
'deeplink' => [
|
|
||||||
'exclude' => 0,
|
|
||||||
'label' => 'Deeplink',
|
|
||||||
'config' => [
|
|
||||||
'type' => 'user',
|
|
||||||
'userFunc' => \EP\EpTheme\Userfuncs\Tca::class . '->getDeeplinkForStaticSearchparams',
|
|
||||||
]
|
|
||||||
]
|
|
||||||
];
|
|
||||||
|
|
||||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
|
|
||||||
'tx_epproducts_domain_model_staticsearchparams',
|
|
||||||
$temporaryColumns
|
|
||||||
);
|
|
||||||
|
|
||||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
|
|
||||||
'tx_epproducts_domain_model_staticsearchparams',
|
|
||||||
'deeplink',
|
|
||||||
'',
|
|
||||||
'before:name'
|
|
||||||
);
|
|
||||||
|
|
||||||
});
|
|
||||||
Reference in New Issue
Block a user