public function SearchTextProcessor::__construct in Drupal 9
Same name and namespace in other branches
- 10 core/modules/search/src/SearchTextProcessor.php \Drupal\search\SearchTextProcessor::__construct()
SearchTextProcessor constructor.
Parameters
\Drupal\Component\Transliteration\TransliterationInterface $transliteration: The transliteration service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- core/
modules/ search/ src/ SearchTextProcessor.php, line 47
Class
- SearchTextProcessor
- Processes search text for indexing.
Namespace
Drupal\searchCode
public function __construct(TransliterationInterface $transliteration, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
$this->transliteration = $transliteration;
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
}