You are here

public function PrepareSearchQueryEvent::__construct in Elasticsearch Connector 8.7

Same name and namespace in other branches
  1. 8.5 src/Event/PrepareSearchQueryEvent.php \Drupal\elasticsearch_connector\Event\PrepareSearchQueryEvent::__construct()
  2. 8.6 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\Event

Code

public function __construct($elasticSearchQuery, $indexName) {
  $this->elasticSearchQuery = $elasticSearchQuery;
  $this->indexName = $indexName;
}