function FieldFile::create

Same name in other branches
  1. 8.9.x core/modules/file/src/Plugin/migrate/process/d6/FieldFile.php \Drupal\file\Plugin\migrate\process\d6\FieldFile::create()
  2. 10 core/modules/file/src/Plugin/migrate/process/d6/FieldFile.php \Drupal\file\Plugin\migrate\process\d6\FieldFile::create()
  3. 11.x core/modules/file/src/Plugin/migrate/process/d6/FieldFile.php \Drupal\file\Plugin\migrate\process\d6\FieldFile::create()

Overrides ContainerFactoryPluginInterface::create

File

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

Class

FieldFile
Plugin annotation @MigrateProcessPlugin( id = "d6_field_file" )

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.