public function FieldFile::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/src/Plugin/migrate/process/d6/FieldFile.php \Drupal\file\Plugin\migrate\process\d6\FieldFile::__construct()
- 9 core/modules/file/src/Plugin/migrate/process/d6/FieldFile.php \Drupal\file\Plugin\migrate\process\d6\FieldFile::__construct()
Constructs a FieldFile plugin instance.
Parameters
array $configuration: The plugin configuration.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin definition.
\Drupal\migrate\Plugin\MigrationInterface $migration: The current migration.
\Drupal\migrate\MigrateLookupInterface $migrate_lookup: The migrate lookup service.
Overrides PluginBase::__construct
File
- core/
modules/ file/ src/ Plugin/ migrate/ process/ d6/ FieldFile.php, line 41
Class
- FieldFile
- Plugin annotation @MigrateProcessPlugin( id = "d6_field_file" )
Namespace
Drupal\file\Plugin\migrate\process\d6Code
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, MigrateLookupInterface $migrate_lookup) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->migration = $migration;
$this->migrateLookup = $migrate_lookup;
}