You are here

public function IndexForm::__construct in Elasticsearch Connector 8

Same name and namespace in other branches
  1. 8.7 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::__construct()
  2. 8.2 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::__construct()
  3. 8.5 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::__construct()
  4. 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\Form

Code

public function __construct(EntityManager $entity_manager) {

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