public function Product::prepareRow in Commerce Migrate 3.0.x
Same name in this branch
- 3.0.x modules/csv_example/src/Plugin/migrate/source/Product.php \Drupal\commerce_migrate_csv_example\Plugin\migrate\source\Product::prepareRow()
- 3.0.x modules/ubercart/src/Plugin/migrate/source/uc7/Product.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7\Product::prepareRow()
- 3.0.x 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
- 8.2 modules/ubercart/src/Plugin/migrate/source/uc7/Product.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7\Product::prepareRow()
- 3.1.x modules/ubercart/src/Plugin/migrate/source/uc7/Product.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7\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/ uc7/ Product.php, line 47
Class
- Product
- Ubercart 7 product source.
Namespace
Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7Code
public function prepareRow(Row $row) {
$row
->setSourceProperty('stores', 1);
return parent::prepareRow($row);
}