You are here

public function ClusterDeleteForm::__construct in Elasticsearch Connector 8.2

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

Constructs an IndexForm object.

Parameters

\Drupal\Core\Entity\EntityManager|\Drupal\Core\Entity\EntityTypeManager $entity_manager: The entity manager.

\Drupal\elasticsearch_connector\ElasticSearch\ClientManagerInterface $client_manager:

File

src/Form/ClusterDeleteForm.php, line 45
Contains \Drupal\elasticsearch_connector\Form\ClusterDeleteForm.

Class

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

Namespace

Drupal\elasticsearch_connector\Form

Code

public function __construct(EntityTypeManager $entity_manager, ClientManagerInterface $client_manager) {

  // Setup object members.
  $this->entityManager = $entity_manager;
  $this->clientManager = $client_manager;
}