You are here

public static function SearchApiAutocompleteSuggesterInterface::supportsIndex in Search API Autocomplete 7

Determines whether this plugin class supports the given index.

Parameters

SearchApiIndex $index: The search index in question.

Return value

bool TRUE if this plugin supports the given search index, FALSE otherwise.

1 method overrides SearchApiAutocompleteSuggesterInterface::supportsIndex()
SearchApiAutocompleteSuggesterPluginBase::supportsIndex in src/SearchApiAutocompleteSuggesterPluginBase.php
Determines whether this plugin class supports the given index.

File

src/SearchApiAutocompleteSuggesterInterface.php, line 42
Contains SearchApiAutocompleteSuggesterInterface.

Class

SearchApiAutocompleteSuggesterInterface
Represents a plugin for creating autocomplete suggestions.

Code

public static function supportsIndex(SearchApiIndex $index);