public function CommercePrice::getFieldFormatterMap in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/commerce/src/Plugin/migrate/field/commerce1/CommercePrice.php \Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1\CommercePrice::getFieldFormatterMap()
- 3.0.x modules/commerce/src/Plugin/migrate/field/commerce1/CommercePrice.php \Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1\CommercePrice::getFieldFormatterMap()
Get a map between D6 formatters and D8 formatters for this field type.
This is used by static::alterFieldFormatterMigration() in the base class.
Return value
array The keys are D6 formatters and the values are D8 formatters.
Overrides FieldPluginBase::getFieldFormatterMap
File
- modules/
commerce/ src/ Plugin/ migrate/ field/ commerce1/ CommercePrice.php, line 46
Class
- CommercePrice
- Commerce price migrate field plugin.
Namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1Code
public function getFieldFormatterMap() {
return [
'commerce_price_formatted_amount' => 'commerce_price_default',
'commerce_price_prefix_suffix' => 'commerce_price_default',
];
}