You are here

public function SearchApiFulltext::getParseModeManager in Search API 8

Same name in this branch
  1. 8 src/Plugin/views/filter/SearchApiFulltext.php \Drupal\search_api\Plugin\views\filter\SearchApiFulltext::getParseModeManager()
  2. 8 src/Plugin/views/argument/SearchApiFulltext.php \Drupal\search_api\Plugin\views\argument\SearchApiFulltext::getParseModeManager()

Retrieves the parse mode manager.

Return value

\Drupal\search_api\ParseMode\ParseModePluginManager The parse mode manager.

File

src/Plugin/views/filter/SearchApiFulltext.php, line 54

Class

SearchApiFulltext
Defines a filter for adding a fulltext search to the view.

Namespace

Drupal\search_api\Plugin\views\filter

Code

public function getParseModeManager() {
  return $this->parseModeManager ?: \Drupal::service('plugin.manager.search_api.parse_mode');
}