function FieldStorageAddController::create

Overrides AutowireTrait::create

File

core/modules/field_ui/src/Controller/FieldStorageAddController.php, line 54

Class

FieldStorageAddController
Controller for building the field type links.

Namespace

Drupal\field_ui\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('plugin.manager.field.field_type'), $container->get('plugin.manager.field.field_type_category'), $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.