public static function SuggesterPluginBase::supportsSearch in Search API Autocomplete 8
Determines whether this plugin supports the given search.
Parameters
\Drupal\search_api_autocomplete\SearchInterface $search: The search in question.
Return value
bool TRUE if this plugin supports the given search, FALSE otherwise.
Overrides SuggesterInterface::supportsSearch
3 methods override SuggesterPluginBase::supportsSearch()
- CustomScript::supportsSearch in src/
Plugin/ search_api_autocomplete/ suggester/ CustomScript.php - Determines whether this plugin supports the given search.
- Server::supportsSearch in src/
Plugin/ search_api_autocomplete/ suggester/ Server.php - Determines whether this plugin supports the given search.
- TestSuggester::supportsSearch in tests/
search_api_autocomplete_test/ src/ Plugin/ search_api_autocomplete/ suggester/ TestSuggester.php - Determines whether this plugin supports the given search.
File
- src/
Suggester/ SuggesterPluginBase.php, line 47
Class
- SuggesterPluginBase
- Provides a base class for suggester plugins.
Namespace
Drupal\search_api_autocomplete\SuggesterCode
public static function supportsSearch(SearchInterface $search) {
return TRUE;
}