public function IndexForm::__construct in Elasticsearch Connector 8.5
Same name and namespace in other branches
- 8.7 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::__construct()
- 8 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::__construct()
- 8.2 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::__construct()
- 8.6 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::__construct()
Constructs an IndexForm object.
Parameters
\Drupal\Core\Entity\EntityManager|\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.
ClientManagerInterface $client_manager:
File
- src/
Form/ IndexForm.php, line 47
Class
- IndexForm
- Form controller for node type forms.
Namespace
Drupal\elasticsearch_connector\FormCode
public function __construct(EntityTypeManagerInterface $entity_manager, ClientManagerInterface $client_manager, ClusterManager $cluster_manager) {
// Setup object members.
$this->entityTypeManager = $entity_manager;
$this->clientManager = $client_manager;
$this->clusterManager = $cluster_manager;
}