You are here

public static function IndexForm::create in Elasticsearch Connector 8.6

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

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

Return value

static

Overrides FormBase::create

File

src/Form/IndexForm.php, line 59

Class

IndexForm
Form controller for node type forms.

Namespace

Drupal\elasticsearch_connector\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity_type.manager'), $container
    ->get('elasticsearch_connector.client_manager'), $container
    ->get('elasticsearch_connector.cluster_manager'));
}