public static function SearchApiAutocompleteSuggesterPluginBase::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.
Overrides SearchApiAutocompleteSuggesterInterface::supportsIndex
1 method overrides SearchApiAutocompleteSuggesterPluginBase::supportsIndex()
- SearchApiAutocompleteServerSuggester::supportsIndex in src/
SearchApiAutocompleteServerSuggester.php - Determines whether this plugin class supports the given index.
File
- src/
SearchApiAutocompleteSuggesterPluginBase.php, line 57 - Contains SearchApiAutocompleteSuggesterPluginBase.
Class
- SearchApiAutocompleteSuggesterPluginBase
- Provides a base class for suggester plugins.
Code
public static function supportsIndex(SearchApiIndex $index) {
return TRUE;
}