Same name and namespace in other branches
- 8.x-1.x src/EntityClone/Content/ContentEntityCloneFormBase.php \Drupal\entity_clone\EntityClone\Content\ContentEntityCloneFormBase::createInstance()
File
-
src/
EntityClone/ Content/ ContentEntityCloneFormBase.php, line 76
Class
- 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'));
}