You are here

public property CommerceCustomerProfileReference::$fieldNameMap in Commerce Migrate 3.1.x

Same name and namespace in other branches
  1. 8.2 modules/commerce/src/Plugin/migrate/field/commerce1/CommerceCustomerProfileReference.php \Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1\CommerceCustomerProfileReference::fieldNameMap
  2. 3.0.x modules/commerce/src/Plugin/migrate/field/commerce1/CommerceCustomerProfileReference.php \Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1\CommerceCustomerProfileReference::fieldNameMap

Field name map.

The field names on orders are different in Commerce 2 than Commerce 1.

Type: array

File

modules/commerce/src/Plugin/migrate/field/commerce1/CommerceCustomerProfileReference.php, line 29

Class

CommerceCustomerProfileReference
Field migration for the Customer Profile Reference field.

Namespace

Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1

Code

public $fieldNameMap = [
  'commerce_customer_billing' => 'billing_profile',
  'commerce_customer_shipping' => 'shipping_profile',
];