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

File

src/Form/EntityCloneForm.php, line 128

Class

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'));
}