You are here

public function SearchService::__construct in Synonyms 8

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

SearchService constructor.

File

synonyms_search/src/SynonymsService/Behavior/SearchService.php, line 72

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, BehaviorService $behavior_service, Connection $database, TimeInterface $time) {
  $this->entityFieldManager = $entity_field_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->behaviorService = $behavior_service;
  $this->database = $database;
  $this->time = $time;
}