You are here

protected function TextExtractorFormSettings::getTextExtractorPluginManager in Search API attachments 8

Same name and namespace in other branches
  1. 9.0.x src/Form/TextExtractorFormSettings.php \Drupal\search_api_attachments\Form\TextExtractorFormSettings::getTextExtractorPluginManager()

Returns the text extractor plugin manager.

Return value

\Drupal\search_api_attachments\TextExtractorPluginManager The text extractor plugin manager.

File

src/Form/TextExtractorFormSettings.php, line 353

Class

TextExtractorFormSettings
Configuration form.

Namespace

Drupal\search_api_attachments\Form

Code

protected function getTextExtractorPluginManager() {
  return $this->textExtractorPluginManager ?: \Drupal::service('plugin.manager.search_api_attachments.text_extractor');
}