You are here

public function FindSynonyms::__construct in Synonyms 8

FindSynonyms constructor.

File

src/SynonymsService/FindSynonyms.php, line 31

Class

FindSynonyms
Service that allows to look up entities by their synonyms.

Namespace

Drupal\synonyms\SynonymsService

Code

public function __construct(BehaviorService $behavior_service, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  $this->behaviorService = $behavior_service;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}