Skip to content

Commit

Permalink
configure service
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Richter committed Dec 10, 2024
1 parent b36e92f commit 0888dc6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use Slub\LisztCommon\Controller\SearchController;
use Slub\LisztCommon\Services\ElasticSearchService;

defined('TYPO3') or die();

Expand Down Expand Up @@ -36,3 +37,20 @@
'EXT:liszt_common/Configuration/Iconpack/LisztSearchResultsIconpack.yaml',
);
}

ExtensionManagementUtility::addService(
'liszt_common',
'search',
'tx_lisztcommon_search',
[
'title' => 'Elastic Search Service',
'descripiton' => 'Provides a central interface for Elasticsearch operations',
'subtype' => '',
'available' => true,
'priority' => 50,
'quality' => 50,
'os' => '',
'exec' => '',
'className' => ElasticSearchService::class
]
);

0 comments on commit 0888dc6

Please sign in to comment.