You are here

public function CckFile::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/file/src/Plugin/migrate/process/d6/CckFile.php \Drupal\file\Plugin\migrate\process\d6\CckFile::__construct()

Constructs a CckFile plugin instance.

Parameters

array $configuration: The plugin configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition.

\Drupal\migrate\Entity\MigrationInterface $migration: The current migration.

\Drupal\migrate\Plugin\MigrateProcessInterface $migration_plugin: An instance of the 'migration' process plugin.

Overrides PluginBase::__construct

File

core/modules/file/src/Plugin/migrate/process/d6/CckFile.php, line 47
Contains \Drupal\file\Plugin\migrate\process\d6\CckFile.

Class

CckFile
Plugin annotation @MigrateProcessPlugin( id = "d6_cck_file" )

Namespace

Drupal\file\Plugin\migrate\process\d6

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, MigrateProcessInterface $migration_plugin) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->migration = $migration;
  $this->migrationPlugin = $migration_plugin;
}