You are here

public static function DisplayFieldCopyForm::create in Display Field Copy 2.x

Same name and namespace in other branches
  1. 8 src/Form/DisplayFieldCopyForm.php \Drupal\display_field_copy\Form\DisplayFieldCopyForm::create()

File

src/Form/DisplayFieldCopyForm.php, line 59

Class

DisplayFieldCopyForm
Configure copy fields.

Namespace

Drupal\display_field_copy\Form

Code

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