Same name and namespace in other branches
- 2.x src/EntityClone/Content/ContentEntityCloneFormBase.php \Drupal\entity_clone\EntityClone\Content\ContentEntityCloneFormBase::createInstance()
Fichier
-
src/
EntityClone/ Content/ ContentEntityCloneFormBase.php, line 76
Classe
- ContentEntityCloneFormBase
- Class Content Entity Clone Form Base.
Namespace
Drupal\entity_clone\EntityClone\ContentCode
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
return new static($container->get('entity_type.manager'), $container->get('string_translation'), $container->get('entity_clone.settings.manager'));
}