You are here

public function TikaServerExtractor::__construct in Search API attachments 8

Same name and namespace in other branches
  1. 9.0.x src/Plugin/search_api_attachments/TikaServerExtractor.php \Drupal\search_api_attachments\Plugin\search_api_attachments\TikaServerExtractor::__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 TextExtractorPluginBase::__construct

File

src/Plugin/search_api_attachments/TikaServerExtractor.php, line 37

Class

TikaServerExtractor
Provides tika server extractor.

Namespace

Drupal\search_api_attachments\Plugin\search_api_attachments

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, ConfigFactoryInterface $config_factory, StreamWrapperManagerInterface $stream_wrapper_manager, MimeTypeGuesserInterface $mime_type_guesser, MessengerInterface $messenger, FileSystemInterface $file_system, ClientInterface $http_client) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $config_factory, $stream_wrapper_manager, $mime_type_guesser, $messenger, $file_system);
  $this->httpClient = $http_client;
}