You are here

public function PrepareIndexEvent::__construct in Elasticsearch Connector 8.5

Same name and namespace in other branches
  1. 8.7 src/Event/PrepareIndexEvent.php \Drupal\elasticsearch_connector\Event\PrepareIndexEvent::__construct()
  2. 8.6 src/Event/PrepareIndexEvent.php \Drupal\elasticsearch_connector\Event\PrepareIndexEvent::__construct()

PrepareIndexEvent constructor.

Parameters

$indexConfig:

$indexName:

File

src/Event/PrepareIndexEvent.php, line 25

Class

PrepareIndexEvent
Class PrepareIndexEvent

Namespace

Drupal\elasticsearch_connector\Event

Code

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