You are here

public function EntityAutocomplete::__construct in Synonyms 8

EntityAutocomplete constructor.

File

src/Controller/EntityAutocomplete.php, line 29

Class

EntityAutocomplete
Synonyms friendly entity autocomplete controller.

Namespace

Drupal\synonyms\Controller

Code

public function __construct(AutocompleteService $autocomplete_service) {
  $this->autocompleteService = $autocomplete_service;
}