You are here

public function CommerceFieldName::__construct in Commerce Migrate 3.1.x

Same name and namespace in other branches
  1. 8.2 modules/commerce/src/Plugin/migrate/process/commerce1/CommerceFieldName.php \Drupal\commerce_migrate_commerce\Plugin\migrate\process\commerce1\CommerceFieldName::__construct()
  2. 3.0.x modules/commerce/src/Plugin/migrate/process/commerce1/CommerceFieldName.php \Drupal\commerce_migrate_commerce\Plugin\migrate\process\commerce1\CommerceFieldName::__construct()

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

File

modules/commerce/src/Plugin/migrate/process/commerce1/CommerceFieldName.php, line 55

Class

CommerceFieldName
Determines the field name.

Namespace

Drupal\commerce_migrate_commerce\Plugin\migrate\process\commerce1

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationPluginManagerInterface $migration_plugin_manager, MigratePluginManagerInterface $process_plugin_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->migrationPluginManager = $migration_plugin_manager;
  $this->processPluginManager = $process_plugin_manager;
}