You are here

protected function IndexForm::getIndexStorage in Elasticsearch Connector 8.2

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

Get the index storage controller.

Return value

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

1 call to IndexForm::getIndexStorage()
IndexForm::buildEntityForm in src/Form/IndexForm.php

File

src/Form/IndexForm.php, line 86
Contains \Drupal\elasticsearch_connector\Form\IndexForm.

Class

IndexForm
Form controller for node type forms.

Namespace

Drupal\elasticsearch_connector\Form

Code

protected function getIndexStorage() {
  return $this
    ->getEntityManager()
    ->getStorage('elasticsearch_index');
}