You are here

public function CommerceKickstartTops::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 377
Migrations for commerce_kickstart_product.

Class

CommerceKickstartTops
Class CommerceKickstartTops.

Code

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