You are here

public function IndexDeleteForm::__construct in Elasticsearch Connector 8.7

Same name and namespace in other branches
  1. 8.2 src/Form/IndexDeleteForm.php \Drupal\elasticsearch_connector\Form\IndexDeleteForm::__construct()
  2. 8.5 src/Form/IndexDeleteForm.php \Drupal\elasticsearch_connector\Form\IndexDeleteForm::__construct()
  3. 8.6 src/Form/IndexDeleteForm.php \Drupal\elasticsearch_connector\Form\IndexDeleteForm::__construct()

ElasticsearchController constructor.

Parameters

\Drupal\elasticsearch_connector\ElasticSearch\ClientManagerInterface $client_manager: The client manager service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.

File

src/Form/IndexDeleteForm.php, line 40

Class

IndexDeleteForm
Defines a confirmation form for deletion of a custom menu.

Namespace

Drupal\elasticsearch_connector\Form

Code

public function __construct(ClientManagerInterface $client_manager, EntityTypeManagerInterface $entity_type_manager) {
  $this->clientManager = $client_manager;
  $this->entityTypeManager = $entity_type_manager;
}