function FieldConfigDeleteForm::create

Same name in other branches
  1. 9 core/modules/field_ui/src/Form/FieldConfigDeleteForm.php \Drupal\field_ui\Form\FieldConfigDeleteForm::create()
  2. 8.9.x core/modules/field_ui/src/Form/FieldConfigDeleteForm.php \Drupal\field_ui\Form\FieldConfigDeleteForm::create()
  3. 10 core/modules/field_ui/src/Form/FieldConfigDeleteForm.php \Drupal\field_ui\Form\FieldConfigDeleteForm::create()

Overrides FormBase::create

File

core/modules/field_ui/src/Form/FieldConfigDeleteForm.php, line 28

Class

FieldConfigDeleteForm
Provides a form for removing a field from a bundle.

Namespace

Drupal\field_ui\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.