public function FilesExtractor::__construct in Search API attachments 9.0.x
Same name and namespace in other branches
- 8 src/Plugin/search_api/processor/FilesExtractor.php \Drupal\search_api_attachments\Plugin\search_api\processor\FilesExtractor::__construct()
File
- src/
Plugin/ search_api/ processor/ FilesExtractor.php, line 126
Class
- FilesExtractor
- Provides file fields processor.
Namespace
Drupal\search_api_attachments\Plugin\search_api\processorCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, TextExtractorPluginManager $text_extractor_plugin_manager, ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, KeyValueFactoryInterface $key_value, ModuleHandlerInterface $module_handler, FieldsHelperInterface $field_helper, ExtractFileValidator $extractFileValidator, LoggerInterface $logger) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->textExtractorPluginManager = $text_extractor_plugin_manager;
$this->configFactory = $config_factory;
$this->entityTypeManager = $entity_type_manager;
$this->keyValue = $key_value;
$this->moduleHandler = $module_handler;
$this->fieldHelper = $field_helper;
$this->extractFileValidator = $extractFileValidator;
$this->logger = $logger;
}