public function IndexForm::__construct in Elasticsearch Connector 8
Same name and namespace in other branches
- 8.7 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::__construct()
- 8.2 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::__construct()
- 8.5 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 $entity_manager: The entity manager.
File
- src/
Form/ IndexForm.php, line 38 - Contains \Drupal\elasticsearch_connector\Form\IndexForm.
Class
- IndexForm
- Form controller for node type forms.
Namespace
Drupal\elasticsearch_connector\FormCode
public function __construct(EntityManager $entity_manager) {
// Setup object members.
$this->entityManager = $entity_manager;
}