public function TestProcessor::preprocessSearchQuery in Search API 8
Preprocesses a search query.
Parameters
\Drupal\search_api\Query\QueryInterface $query: The object representing the query to be executed.
Overrides ProcessorPluginBase::preprocessSearchQuery
File
- tests/
search_api_test/ src/ Plugin/ search_api/ processor/ TestProcessor.php, line 66
Class
- TestProcessor
- Provides a processor with dependencies, for the dependency removal tests.
Namespace
Drupal\search_api_test\Plugin\search_api\processorCode
public function preprocessSearchQuery(QueryInterface $query) {
$this
->logMethodCall(__FUNCTION__, func_get_args());
}