public function PrepareSearchQueryEvent::__construct in Elasticsearch Connector 8.6
Same name and namespace in other branches
- 8.7 src/Event/PrepareSearchQueryEvent.php \Drupal\elasticsearch_connector\Event\PrepareSearchQueryEvent::__construct()
- 8.5 src/Event/PrepareSearchQueryEvent.php \Drupal\elasticsearch_connector\Event\PrepareSearchQueryEvent::__construct()
PrepareSearchQueryEvent constructor.
Parameters
$elasticSearchQuery:
$indexName:
File
- src/
Event/ PrepareSearchQueryEvent.php, line 25
Class
- PrepareSearchQueryEvent
- Class PrepareSearchQueryEvent
Namespace
Drupal\elasticsearch_connector\EventCode
public function __construct($elasticSearchQuery, $indexName) {
$this->elasticSearchQuery = $elasticSearchQuery;
$this->indexName = $indexName;
}