You are here

public function SearchService::__construct in Fast Autocomplete 8

SearchService constructor.

Parameters

\Drupal\fac\SearchPluginManager $search_plugin_manager: The SearchPluginManager instance.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The EntityTypeManagerInterface instance.

File

src/SearchService.php, line 37

Class

SearchService
Class SearchService.

Namespace

Drupal\fac

Code

public function __construct(SearchPluginManager $search_plugin_manager, EntityTypeManagerInterface $entity_type_manager) {
  $this->searchPluginManager = $search_plugin_manager;
  $this->entityTypeManager = $entity_type_manager;
}