Same name in other branches
  1. 8.x-1.x src/EntityClone/Config/ConfigEntityCloneFormBase.php \Drupal\entity_clone\EntityClone\Config\ConfigEntityCloneFormBase::createInstance()

Fichier

src/EntityClone/Config/ConfigEntityCloneFormBase.php, line 49

Classe

ConfigEntityCloneFormBase
Class Config Entity Clone FormBase.

Namespace

Drupal\entity_clone\EntityClone\Config

Code

public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
    return new static($container->get('entity_type.manager'), $container->get('string_translation'));
}