You are here

public function SearchInterface::getIndex in Search API Autocomplete 8

Retrieves the index this search belongs to.

Return value

\Drupal\search_api\IndexInterface The index this search belongs to.

Throws

\Drupal\search_api_autocomplete\SearchApiAutocompleteException Thrown if the index couldn't be retrieved.

1 method overrides SearchInterface::getIndex()
Search::getIndex in src/Entity/Search.php
Retrieves the index this search belongs to.

File

src/SearchInterface.php, line 46

Class

SearchInterface
Describes the autocomplete settings for a certain search.

Namespace

Drupal\search_api_autocomplete

Code

public function getIndex();