You are here

public function SearchInterface::getSearchPlugin in Search API Autocomplete 8

Retrieves the search plugin.

Return value

\Drupal\search_api_autocomplete\Search\SearchPluginInterface The search's search plugin.

Throws

\Drupal\search_api_autocomplete\SearchApiAutocompleteException Thrown if the search plugin couldn't be instantiated.

1 method overrides SearchInterface::getSearchPlugin()
Search::getSearchPlugin in src/Entity/Search.php
Retrieves the search plugin.

File

src/SearchInterface.php, line 168

Class

SearchInterface
Describes the autocomplete settings for a certain search.

Namespace

Drupal\search_api_autocomplete

Code

public function getSearchPlugin();