‪TYPO3CMS  11.5
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
14 
15 defined('TYPO3') or die();
16 
17 // Rebuild cache in DataHandler on changing / inserting / adding redirect records
18 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']['redirects'] = ‪DataHandlerCacheFlushingHook::class . '->rebuildRedirectCacheIfNecessary';
19 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['redirects'] = ‪DataHandlerSlugUpdateHook::class;
20 
21 // Inject sys_domains into valuepicker form
22 ‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['tcaDatabaseRecord']
24  'depends' => [
26  ],
27 ];
28 
29 // Add validation call for form field source_host and source_path
30 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals'][‪SourceHost::class] = '';
31 
32 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['constructPostProcess'][]
33  = ‪BackendControllerHook::class . '->registerClientSideEventHandler';
34 
35 // Register update signal to send delayed notifications
36 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['updateSignalHook']['redirects:slugChanged'] = ‪DispatchNotificationHook::class . '->dispatchNotification';
37 
38 ‪if (‪ExtensionManagementUtility::isLoaded('reports')) {
39  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['LLL:EXT:redirects/Resources/Private/Language/locallang_reports.xlf:statusProvider'][] = RedirectStatus::class;
40 }
‪TYPO3\CMS\Redirects\Hooks\DispatchNotificationHook
Definition: DispatchNotificationHook.php:28
‪TYPO3\CMS\Redirects\Evaluation\SourceHost
Definition: SourceHost.php:30
‪TYPO3\CMS\Redirects\Report\Status\RedirectStatus
Definition: RedirectStatus.php:31
‪TYPO3\CMS\Redirects\Hooks\DataHandlerSlugUpdateHook
Definition: DataHandlerSlugUpdateHook.php:29
‪TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders
Definition: TcaInputPlaceholders.php:32
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility
Definition: ExtensionManagementUtility.php:43
‪TYPO3\CMS\Redirects\FormDataProvider\ValuePickerItemDataProvider
Definition: ValuePickerItemDataProvider.php:29
‪TYPO3\CMS\Redirects\Hooks\DataHandlerCacheFlushingHook
Definition: DataHandlerCacheFlushingHook.php:31
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪if
‪if(PHP_SAPI !=='cli')
Definition: checkNamespaceIntegrity.php:25
‪TYPO3\CMS\Redirects\Hooks\BackendControllerHook
Definition: BackendControllerHook.php:27