You are here

public function CommercePrice::getFieldWidgetMap in Commerce Migrate 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/commerce/src/Plugin/migrate/field/commerce1/CommercePrice.php \Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1\CommercePrice::getFieldWidgetMap()
  2. 3.1.x modules/commerce/src/Plugin/migrate/field/commerce1/CommercePrice.php \Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1\CommercePrice::getFieldWidgetMap()

Get a map between D6 and D8 widgets for this field type.

Return value

array The keys are D6 field widget types and the values D8 widgets.

Overrides FieldPluginBase::getFieldWidgetMap

File

modules/commerce/src/Plugin/migrate/field/commerce1/CommercePrice.php, line 56

Class

CommercePrice
Commerce price migrate field plugin.

Namespace

Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1

Code

public function getFieldWidgetMap() {
  return [
    'commerce_price_full' => 'commerce_price_default',
    'commerce_price_simple' => 'commerce_price_default',
  ];
}