From 0888dc658490e8dd431d10b39fc166af9b85b79e Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Tue, 10 Dec 2024 18:29:00 +0100 Subject: [PATCH] configure service --- ext_localconf.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ext_localconf.php b/ext_localconf.php index f3e537f..fd1965a 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -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(); @@ -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 + ] +);