You are here

public function MerciItemMigration::prepareRow in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

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

merci_migrate/merci_items.inc, line 46

Class

MerciItemMigration

Code

public function prepareRow($row) {
  $row->merci_default_availability = $row->merci_default_availability == 1 ? 1 : 0;
  return TRUE;
}