public function ProcessorPluginBase::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 ProcessorInterface::preprocessSearchQuery
4 methods override ProcessorPluginBase::preprocessSearchQuery()
- ContentAccess::preprocessSearchQuery in src/
Plugin/ search_api/ processor/ ContentAccess.php - Preprocesses a search query.
- FieldsProcessorPluginBase::preprocessSearchQuery in src/
Processor/ FieldsProcessorPluginBase.php - Preprocesses a search query.
- RoleAccess::preprocessSearchQuery in src/
Plugin/ search_api/ processor/ RoleAccess.php - Preprocesses a search query.
- TestProcessor::preprocessSearchQuery in tests/
search_api_test/ src/ Plugin/ search_api/ processor/ TestProcessor.php - Preprocesses a search query.
File
- src/
Processor/ ProcessorPluginBase.php, line 175
Class
- ProcessorPluginBase
- Defines a base class from which other processors may extend.
Namespace
Drupal\search_api\ProcessorCode
public function preprocessSearchQuery(QueryInterface $query) {
}