function FieldStorageConfigListBuilder::createInstance

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

Overrides EntityListBuilder::createInstance

File

core/modules/field_ui/src/FieldStorageConfigListBuilder.php, line 75

Class

FieldStorageConfigListBuilder
Defines a class to build a listing of fields.

Namespace

Drupal\field_ui

Code

public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
    return new static($entity_type, $container->get('entity_type.manager'), $container->get('plugin.manager.field.field_type'), $container->get('entity_type.bundle.info'));
}

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