You are here

protected function IndexForm::getEntityManager in Elasticsearch Connector 8.5

Same name and namespace in other branches
  1. 8.7 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::getEntityManager()
  2. 8 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::getEntityManager()
  3. 8.2 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::getEntityManager()
  4. 8.6 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::getEntityManager()

Get the entity manager.

Return value

\Drupal\Core\Entity\EntityManager An instance of EntityManager.

File

src/Form/IndexForm.php, line 73

Class

IndexForm
Form controller for node type forms.

Namespace

Drupal\elasticsearch_connector\Form

Code

protected function getEntityManager() {
  return $this->entityTypeManager;
}