function FieldFile::create

Instantiates a new instance of the implementing class using autowiring.

Return value

static

Overrides PluginBase::create

File

core/modules/file/src/Plugin/migrate/process/d6/FieldFile.php, line 56

Class

FieldFile
Determines the settings for a Drupal 6 file field.

Namespace

Drupal\file\Plugin\migrate\process\d6

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition, ?MigrationInterface $migration = NULL) {
  return new static($configuration, $plugin_id, $plugin_definition, $migration, $container->get('migrate.lookup'));
}

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