[BUGFIX] Move legacy indexed_search plugin registration
[Packages/TYPO3.CMS.git] / typo3 / sysext / compatibility7 / Configuration / TCA / Overrides / tt_content.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // Register "old" FE plugin and hide layout, select_key and pages fields in BE
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
6 ['LLL:EXT:indexed_search/Resources/Private/Language/locallang_main.xlf:mod_indexed_search', 'indexed_search'],
7 'list_type',
8 'indexed_search'
9 );
10 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['indexed_search'] = 'layout,select_key,pages';