[TASK] Turn todos into @todo to find them easier
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
6 'tools',
7 'isearch',
8 'after:log',
9 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod/'
10 );
11 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
12 'web_info',
13 \TYPO3\CMS\IndexedSearch\Controller\IndexedPagesController::class,
14 NULL,
15 'LLL:EXT:indexed_search/locallang.xlf:mod_indexed_search'
16 );
17 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
18 'web_info',
19 \TYPO3\CMS\IndexedSearch\Controller\IndexingStatisticsController::class,
20 NULL,
21 'LLL:EXT:indexed_search/locallang.xlf:mod2_indexed_search'
22 );
23
24 $GLOBALS['TBE_MODULES_EXT']['xMOD_db_new_content_el']['addElClasses']['tx_indexed_search_pi_wizicon'] =
25 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'pi/class.tx_indexed_search_pi_wizicon.php';
26 }
27 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('index_config');
28 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('index_config', 'EXT:indexed_search/locallang_csh_indexcfg.xlf');