public function PluginInterface::getSearch in Search API Autocomplete 8
Retrieves the search this plugin is configured for.
Return value
\Drupal\search_api_autocomplete\SearchInterface|null The search this plugin is configured for, or NULL if no search entity has yet been set for it.
1 method overrides PluginInterface::getSearch()
- PluginBase::getSearch in src/
Plugin/ PluginBase.php - Retrieves the search this plugin is configured for.
File
- src/
Plugin/ PluginInterface.php, line 20
Class
- PluginInterface
- Provides a common interface for autocomplete search plugins.
Namespace
Drupal\search_api_autocomplete\PluginCode
public function getSearch();