You are here

public static function QuickNodeCloneEntityFormBuilder::create in Quick Node Clone 8

File

src/Entity/QuickNodeCloneEntityFormBuilder.php, line 80

Class

QuickNodeCloneEntityFormBuilder
Builds entity forms.

Namespace

Drupal\quick_node_clone\Entity

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity_type.bundle.info'), $container
    ->get('config.factory'), $container
    ->get('module_handler'), $container
    ->get('entity_type.manager'), $container
    ->get('current_user'), $container
    ->get('tempstore.private'));
}