Same name in other branches
  1. 2.x src/Form/EntityCloneForm.php \Drupal\entity_clone\Form\EntityCloneForm::create()

Fichier

src/Form/EntityCloneForm.php, line 128

Classe

EntityCloneForm
Implements an entity Clone form.

Namespace

Drupal\entity_clone\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('entity_type.manager'), $container->get('current_route_match'), $container->get('string_translation'), $container->get('event_dispatcher'), $container->get('messenger'), $container->get('current_user'), $container->get('entity_clone.settings.manager'), $container->get('entity_clone.service_provider'));
}