You are here

public function LiveResults::getProcessorPluginManager in Search API Autocomplete 8

Retrieves the Search API processor plugin manager.

Return value

\Drupal\search_api\Processor\ProcessorPluginManager The Search API processor plugin manager.

File

src/Plugin/search_api_autocomplete/suggester/LiveResults.php, line 92

Class

LiveResults
Provides a suggester plugin that displays live results.

Namespace

Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\suggester

Code

public function getProcessorPluginManager() : ProcessorPluginManager {
  return $this->processorPluginManager ?: \Drupal::service('plugin.manager.search_api.processor');
}