You are here

public function FacConfigForm::__construct in Fast Autocomplete 8

Constructor for the FacConfigForm.

Parameters

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

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The EntityDisplayRepository instance.

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

File

src/Form/FacConfigForm.php, line 51

Class

FacConfigForm
Class FacConfigForm.

Namespace

Drupal\fac\Form

Code

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