-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
ext_localconf.php
18 lines (14 loc) · 1.04 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
defined('TYPO3_MODE') or die();
(function () {
if (class_exists(\ApacheSolrForTypo3\Solr\Search\SearchComponentManager::class)) {
\ApacheSolrForTypo3\Solr\Search\SearchComponentManager::registerSearchComponent('fluid_grouping', \ApacheSolrForTypo3\Solrfluidgrouping\Search\GroupingComponent::class);
}
if (class_exists(\ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Result\Parser\ResultParserRegistry::class)) {
/* @var \ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Result\Parser\ResultParserRegistry $parserRegistry */
$parserRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Result\Parser\ResultParserRegistry::class);
if (!$parserRegistry->hasParser(\ApacheSolrForTypo3\Solrfluidgrouping\Domain\Search\ResultSet\Grouping\Parser\GroupedResultParser::class, 200)) {
$parserRegistry->registerParser(\ApacheSolrForTypo3\Solrfluidgrouping\Domain\Search\ResultSet\Grouping\Parser\GroupedResultParser::class, 200);
}
}
})();