You are here

public static function DefaultSubscriber::getSubscribedEvents in Elasticsearch Connector Autocomplete 8

File

src/EventSubscriber/DefaultSubscriber.php, line 46

Class

DefaultSubscriber
Class DefaultSubscriber.

Namespace

Drupal\elasticsearch_connector_autocomp\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events['elasticsearch_connector.prepare_index_mapping'] = [
    'elasticsearchConnectorPrepareIndexMapping',
  ];
  $events['elasticsearch_connector.prepare_index'] = [
    'elasticsearchConnectorPrepareIndex',
  ];
  return $events;
}