function QuickEditFieldForm::create

Same name in other branches
  1. 9 core/modules/quickedit/src/Form/QuickEditFieldForm.php \Drupal\quickedit\Form\QuickEditFieldForm::create()

Overrides FormBase::create

File

core/modules/quickedit/src/Form/QuickEditFieldForm.php, line 63

Class

QuickEditFieldForm
Builds and process a form for editing a single entity field.

Namespace

Drupal\quickedit\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('tempstore.private'), $container->get('module_handler'), $container->get('entity_type.manager')
        ->getStorage('node_type'));
}

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