You are here

public function CommercePrice::getFieldType in Commerce Migrate 3.1.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::getFieldType()
  2. 3.0.x modules/commerce/src/Plugin/migrate/field/commerce1/CommercePrice.php \Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1\CommercePrice::getFieldType()

Computes the destination type of a migrated field.

Parameters

\Drupal\migrate\Row $row: The field being migrated.

Return value

string The destination field type.

Overrides FieldPluginBase::getFieldType

File

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

Class

CommercePrice
Commerce price migrate field plugin.

Namespace

Drupal\commerce_migrate_commerce\Plugin\migrate\field\commerce1

Code

public function getFieldType(Row $row) {
  return 'commerce_price';
}