forked from hmmh/typo3-solr-file-indexer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
24 lines (20 loc) · 1.11 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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = \HMMH\SolrFileIndexer\Hook\GarbageCollector::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\HMMH\SolrFileIndexer\Task\DeleteByTypeTask::class] = [
'extension' => 'solr_file_indexer',
'title' => 'Remove type:sys_file_metadata from solr index',
'description' => '',
'additionalFields' => \HMMH\SolrFileIndexer\Task\DeleteByTypeTaskAdditionalFieldProvider::class
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(
'module.tx_dashboard.view.templateRootPaths.20 = EXT:solr_file_indexer/Resources/Private/Templates'
);
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][ApacheSolrForTypo3\Solr\System\Solr\Service\SolrWriteService::class] = [
'className' => HMMH\SolrFileIndexer\Service\WriteServiceAdapter::class
];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][ApacheSolrForTypo3\Solr\IndexQueue\RecordMonitor::class] = [
'className' => HMMH\SolrFileIndexer\IndexQueue\RecordMonitorAdapter::class
];