BuildIndexParamsEvent.php in Elasticsearch Connector 8.6
File
src/Event/BuildIndexParamsEvent.php
View source
<?php
namespace Drupal\elasticsearch_connector\Event;
use Symfony\Component\EventDispatcher\Event;
class BuildIndexParamsEvent extends Event {
const BUILD_PARAMS = 'elasticsearch_connector.build_indexparams';
protected $params;
protected $indexName;
public function __construct($params, $indexName) {
$this->params = $params;
$this->indexName = $indexName;
}
public function getElasticIndexParams() {
return $this->params;
}
public function setElasticIndexParams($params) {
$this->params = $params;
}
public function getIndexName() {
return $this->indexName;
}
}