You are here

public function ExtractorQueue::__construct in Search API attachments 8

Same name and namespace in other branches
  1. 9.0.x src/Plugin/QueueWorker/ExtractorQueue.php \Drupal\search_api_attachments\Plugin\QueueWorker\ExtractorQueue::__construct()

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/ExtractorQueue.php, line 67

Class

ExtractorQueue
Processes Tasks for Search API Attachments.

Namespace

Drupal\search_api_attachments\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, TextExtractorPluginManager $text_extractor_plugin_manager, EntityTypeManagerInterface $entity_type_manager, KeyValueFactoryInterface $key_value, LoggerInterface $logger, ModuleHandlerInterface $module_handler) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->textExtractorPluginManager = $text_extractor_plugin_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->keyValue = $key_value;
  $this->logger = $logger;
  $this->moduleHandler = $module_handler;
}