function FieldConfigAddController::create

Same name and namespace in other branches
  1. 11.x core/modules/field_ui/src/Controller/FieldConfigAddController.php \Drupal\field_ui\Controller\FieldConfigAddController::create()

Overrides AutowireTrait::create

File

core/modules/field_ui/src/Controller/FieldConfigAddController.php, line 32

Class

FieldConfigAddController
Controller for building the field instance form.

Namespace

Drupal\field_ui\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('tempstore.private')
        ->get('field_ui'));
}

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