public function ProductVariationTrait::fields in Commerce Migrate 3.1.x
Same name and namespace in other branches
- 8.2 modules/ubercart/src/Plugin/migrate/source/ProductVariationTrait.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\ProductVariationTrait::fields()
- 3.0.x modules/ubercart/src/Plugin/migrate/source/ProductVariationTrait.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\ProductVariationTrait::fields()
File
- modules/
ubercart/ src/ Plugin/ migrate/ source/ ProductVariationTrait.php, line 25
Class
- ProductVariationTrait
- Ubercart product variation source.
Namespace
Drupal\commerce_migrate_ubercart\Plugin\migrate\sourceCode
public function fields() {
$fields = [
'vid' => t('The primary identifier for this version.'),
'log' => $this
->t('Revision Log message'),
'uid' => $this
->t('Node UID.'),
'model' => $this
->t('SKU code'),
'sell_price' => $this
->t('Product price'),
];
return parent::fields() + $fields;
}