You are here

public function SearchService::__construct in Synonyms 2.0.x

Same name and namespace in other branches
  1. 8 synonyms_search/src/SynonymsService/Behavior/SearchService.php \Drupal\synonyms_search\SynonymsService\Behavior\SearchService::__construct()

SearchService constructor.

File

modules/synonyms_search/src/SynonymsService/Behavior/SearchService.php, line 65

Class

SearchService
Expose synonyms of referenced entities to core Search index.

Namespace

Drupal\synonyms_search\SynonymsService\Behavior

Code

public function __construct(EntityFieldManagerInterface $entity_field_manager, EntityTypeManagerInterface $entity_type_manager, Connection $database, TimeInterface $time, ProviderService $provider_service) {
  $this->entityFieldManager = $entity_field_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->database = $database;
  $this->time = $time;
  $this->providerService = $provider_service;
}