public function Product::prepareRow in Commerce Migrate 8.2
Same name in this branch
- 8.2 modules/csv_example/src/Plugin/migrate/source/Product.php \Drupal\commerce_migrate_csv_example\Plugin\migrate\source\Product::prepareRow()
- 8.2 modules/ubercart/src/Plugin/migrate/source/uc7/Product.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7\Product::prepareRow()
- 8.2 modules/ubercart/src/Plugin/migrate/source/uc6/Product.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6\Product::prepareRow()
Same name and namespace in other branches
- 3.1.x modules/ubercart/src/Plugin/migrate/source/uc6/Product.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6\Product::prepareRow()
- 3.0.x modules/ubercart/src/Plugin/migrate/source/uc6/Product.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6\Product::prepareRow()
Adds additional data to the row.
Parameters
\Drupal\migrate\Row $row: The row object.
Return value
bool FALSE if this row needs to be skipped.
Overrides Node::prepareRow
File
- modules/
ubercart/ src/ Plugin/ migrate/ source/ uc6/ Product.php, line 47
Class
- Product
- Ubercart 6 product source.
Namespace
Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6Code
public function prepareRow(Row $row) {
$row
->setSourceProperty('stores', 1);
return parent::prepareRow($row);
}