class PrepareIndexMappingEvent in Elasticsearch Connector 8.5
Same name and namespace in other branches
- 8.7 src/Event/PrepareIndexMappingEvent.php \Drupal\elasticsearch_connector\Event\PrepareIndexMappingEvent
- 8.6 src/Event/PrepareIndexMappingEvent.php \Drupal\elasticsearch_connector\Event\PrepareIndexMappingEvent
Class PrepareIndexMappingEvent
@package Drupal\elasticsearch_connector\Event
Hierarchy
- class \Drupal\elasticsearch_connector\Event\PrepareIndexMappingEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of PrepareIndexMappingEvent
1 file declares its use of PrepareIndexMappingEvent
- IndexFactory.php in src/
ElasticSearch/ Parameters/ Factory/ IndexFactory.php
File
- src/
Event/ PrepareIndexMappingEvent.php, line 12
Namespace
Drupal\elasticsearch_connector\EventView source
class PrepareIndexMappingEvent extends Event {
const PREPARE_INDEX_MAPPING = 'elasticsearch_connector.prepare_index_mapping';
protected $indexMappingParams;
protected $indexName;
/**
* PrepareIndexMappingEvent constructor.
*
* @param $indexMappingParams
* @param $indexName
*/
public function __construct($indexMappingParams, $indexName) {
$this->indexMappingParams = $indexMappingParams;
$this->indexName = $indexName;
}
/**
* Getter for the index params array.
*
* @return indexMappingParams
*/
public function getIndexMappingParams() {
return $this->indexMappingParams;
}
/**
* Setter for the index params array.
*
* @param $indexMappingParams
*/
public function setIndexMappingParams($indexMappingParams) {
$this->indexMappingParams = $indexMappingParams;
}
/**
* Getter for the index name.
*
* @return indexName
*/
public function getIndexName() {
return $this->indexName;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrepareIndexMappingEvent:: |
protected | property | ||
PrepareIndexMappingEvent:: |
protected | property | ||
PrepareIndexMappingEvent:: |
public | function | Getter for the index params array. | |
PrepareIndexMappingEvent:: |
public | function | Getter for the index name. | |
PrepareIndexMappingEvent:: |
constant | |||
PrepareIndexMappingEvent:: |
public | function | Setter for the index params array. | |
PrepareIndexMappingEvent:: |
public | function | PrepareIndexMappingEvent constructor. |