public function Importer::__construct in Search API Synonym 8
Constructs Importer.
File
- src/
Import/ Importer.php, line 56
Class
- Importer
- Importer class.
Namespace
Drupal\search_api_synonym\ImportCode
public function __construct() {
$this->entityManager = \Drupal::service('entity_type.manager');
$this->entityRepository = \Drupal::service('entity_type.repository');
$this->moduleHandler = \Drupal::service('module_handler');
$this->connection = \Drupal::service('database');
}