0f123a44a7c09716eaf46efb8c4aa29e47e5920b
[Packages/TYPO3.CMS.git] / typo3 / sysext / compatibility7 / ext_localconf.php
1 <?php
2
3 defined('TYPO3_MODE') or die();
4
5 if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('indexed_search')) {
6 // register pibase plugin
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
8 'indexed_search',
9 'setup',
10 trim('
11 plugin.tx_indexedsearch = USER_INT
12 plugin.tx_indexedsearch.userFunc = ' . \TYPO3\CMS\Compatibility7\Controller\SearchFormController::class . '->main
13 ')
14 );
15 // add default rendering for pibase plugin
16 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
17 'indexed_search',
18 'setup',
19 'tt_content.list.20.indexed_search =< plugin.tx_indexedsearch',
20 'defaultContentRendering'
21 );
22 }
23
24 // Enable pages.url_scheme functionality again
25 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typolinkProcessing']['typolinkModifyParameterForPageLinks']['compatibility7_urlscheme']
26 = \TYPO3\CMS\Compatibility7\Hooks\EnforceUrlSchemeHook::class;
27
28 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['fetchPageId-PostProcessing']['compatibility7_urlscheme']
29 = \TYPO3\CMS\Compatibility7\Hooks\EnforceUrlSchemeHook::class . '->redirectIfUrlSchemeDoesNotMatch';
30
31 // Enable action `QuickEdit` in page layout controller again
32 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][\TYPO3\CMS\Backend\Controller\PageLayoutController::class]['initActionHook']['compatibility7_quickedit']
33 = \TYPO3\CMS\Compatibility7\Hooks\PageLayoutActionHook::class . '->initAction';
34
35 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][\TYPO3\CMS\Backend\Controller\PageLayoutController::class]['renderActionHook']['compatibility7_quickedit']
36 = \TYPO3\CMS\Compatibility7\Hooks\PageLayoutActionHook::class . '->renderAction';