public function OrderItemAdjustment::__construct in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 modules/ubercart/src/Plugin/migrate/process/OrderItemAdjustment.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\process\OrderItemAdjustment::__construct()
- 3.1.x modules/ubercart/src/Plugin/migrate/process/OrderItemAdjustment.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\process\OrderItemAdjustment::__construct()
Constructs a MigrationLookup 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.
\Drupal\migrate\Plugin\MigrationInterface $migration: The Migration the plugin is being used in.
\Drupal\migrate\Plugin\MigrationPluginManagerInterface $migration_plugin_manager: The Migration Plugin Manager Interface.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\commerce_price\RounderInterface $rounder: The rounder.
Overrides PluginBase::__construct
File
- modules/
ubercart/ src/ Plugin/ migrate/ process/ OrderItemAdjustment.php, line 103
Class
- OrderItemAdjustment
- Builds an array of adjustment data.
Namespace
Drupal\commerce_migrate_ubercart\Plugin\migrate\processCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, MigrationPluginManagerInterface $migration_plugin_manager, EntityTypeManagerInterface $entity_type_manager, RounderInterface $rounder) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->migrationPluginManager = $migration_plugin_manager;
$this->migration = $migration;
$this->entityTypeManager = $entity_type_manager;
$this->rounder = $rounder;
}