protected function IndexForm::getIndexStorage in Elasticsearch Connector 8.7
Same name and namespace in other branches
- 8 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::getIndexStorage()
- 8.2 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::getIndexStorage()
- 8.5 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::getIndexStorage()
- 8.6 src/Form/IndexForm.php \Drupal\elasticsearch_connector\Form\IndexForm::getIndexStorage()
Gets the index storage controller.
Return value
\Drupal\Core\Entity\EntityStorageInterface An instance of EntityStorageInterface.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
\Drupal\Component\Plugin\Exception\PluginNotFoundException
1 call to IndexForm::getIndexStorage()
- IndexForm::buildEntityForm in src/
Form/ IndexForm.php - Builds entity form.
File
- src/
Form/ IndexForm.php, line 103
Class
- IndexForm
- Form controller for node type forms.
Namespace
Drupal\elasticsearch_connector\FormCode
protected function getIndexStorage() {
return $this
->getEntityManager()
->getStorage('elasticsearch_index');
}