public function EntityAutocomplete::__construct in Synonyms 2.0.x
EntityAutocomplete constructor.
File
- modules/
synonyms_autocomplete/ src/ Controller/ EntityAutocomplete.php, line 29
Class
- EntityAutocomplete
- Synonyms friendly entity autocomplete controller.
Namespace
Drupal\synonyms_autocomplete\ControllerCode
public function __construct(AutocompleteService $autocomplete_service) {
$this->autocompleteService = $autocomplete_service;
}