function FieldFile::__construct

Same name in other branches
  1. 9 core/modules/file/src/Plugin/migrate/process/d6/FieldFile.php \Drupal\file\Plugin\migrate\process\d6\FieldFile::__construct()
  2. 8.9.x core/modules/file/src/Plugin/migrate/process/d6/FieldFile.php \Drupal\file\Plugin\migrate\process\d6\FieldFile::__construct()
  3. 10 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.

File

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

Class

FieldFile

Namespace

Drupal\file\Plugin\migrate\process\d6

Code

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;
}

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