You are here

public function CommerceKickstartShoes::prepareRow in Commerce Kickstart 7.2

Default implementation of prepareRow(). This method is called from the source plugin upon first pulling the raw data from the source.

Parameters

$row: Object containing raw source data.

Return value

bool TRUE to process this row, FALSE to have the source skip it.

Overrides Migration::prepareRow

File

modules/commerce_kickstart/commerce_kickstart_product/commerce_kickstart_product.migrate.inc, line 473
Migrations for commerce_kickstart_product.

Class

CommerceKickstartShoes
Class CommerceKickstartShoes.

Code

public function prepareRow($row) {
  $row->product_images = explode(', ', $row->images);
  $row->uid = 1;
  $row->language = LANGUAGE_NONE;
}