[BUGFIX] Add icon rendering for custom permissions options
[Packages/TYPO3.CMS.git] / typo3 / sysext / compatibility7 / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('indexed_search')) {
5 // register pibase plugin
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
7 'indexed_search',
8 'setup',
9 trim('
10 plugin.tx_indexedsearch = USER_INT
11 plugin.tx_indexedsearch.userFunc = ' . \TYPO3\CMS\Compatibility7\Controller\SearchFormController::class . '->main
12 ')
13 );
14 // add default rendering for pibase plugin
15 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
16 'indexed_search',
17 'setup',
18 'tt_content.list.20.indexed_search =< plugin.tx_indexedsearch',
19 'defaultContentRendering'
20 );
21 }