‪TYPO3CMS  ‪main
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
11 
12 defined('TYPO3') or die();
13 
14 // Rebuild cache in DataHandler on changing / inserting / adding redirect records
15 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']['redirects'] = ‪DataHandlerCacheFlushingHook::class . '->rebuildRedirectCacheIfNecessary';
16 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['redirects'] = ‪DataHandlerSlugUpdateHook::class;
17 
18 // Inject sys_domains into valuepicker form
19 ‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['tcaDatabaseRecord']
21  'depends' => [
23  ],
24 ];
25 
26 // Add validation call for form field source_host and source_path
27 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals'][‪SourceHost::class] = '';
28 
29 // Register update signal to send delayed notifications
30 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['updateSignalHook']['redirects:slugChanged'] = ‪DispatchNotificationHook::class . '->dispatchNotification';
‪TYPO3\CMS\Redirects\Hooks\DispatchNotificationHook
Definition: DispatchNotificationHook.php:28
‪TYPO3\CMS\Redirects\Evaluation\SourceHost
Definition: SourceHost.php:30
‪TYPO3\CMS\Redirects\Hooks\DataHandlerSlugUpdateHook
Definition: DataHandlerSlugUpdateHook.php:30
‪TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders
Definition: TcaInputPlaceholders.php:32
‪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