-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
43 lines (36 loc) · 1.74 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* Connect to signals emitted from FileIndexReository on FAL index changes
*/
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
\TYPO3\CMS\Core\Resource\Index\FileIndexRepository::class,
'recordUpdated',
\Crealistiques\CreFalclearpagecache\Slots\FileIndexChangeSlot::class,
'onFileIndexChange'
);
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
\TYPO3\CMS\Core\Resource\Index\FileIndexRepository::class,
'recordCreated',
\Crealistiques\CreFalclearpagecache\Slots\FileIndexChangeSlot::class,
'onFileIndexChange'
);
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
\TYPO3\CMS\Core\Resource\Index\FileIndexRepository::class,
'recordDeleted',
\Crealistiques\CreFalclearpagecache\Slots\FileIndexChangeSlot::class,
'onFileIndexChange'
);
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
\TYPO3\CMS\Core\Resource\Index\FileIndexRepository::class,
'recordMarkedAsMissing',
\Crealistiques\CreFalclearpagecache\Slots\FileIndexChangeSlot::class,
'onFileIndexChange'
);