[TASK] Apply CGL compatibility (PSR-1 and PSR-2)
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Indexed Search (Extbase & Fluid based)');
5
6 if (TYPO3_MODE === 'BE') {
7 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
8 'TYPO3.CMS.IndexedSearch',
9 'web',
10 'isearch',
11 '',
12 array(
13 'Administration' => 'index,pages,externalDocuments,statistic,statisticDetails,deleteIndexedItem,saveStopwordsKeywords,wordDetail',
14 ),
15 array(
16 'access' => 'admin',
17 'icon' => 'EXT:indexed_search/Resources/Public/Icons/module-indexed_search.svg',
18 'labels' => 'LLL:EXT:indexed_search/Resources/Private/Language/locallang_mod.xlf',
19 )
20 );
21 }
22
23 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('index_config');
24 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('index_config', 'EXT:indexed_search/Resources/Private/Language/locallang_csh_indexcfg.xlf');