You are here

public function DrupalEntityMigration::prepareRow in Drupal-to-Drupal data migration 7.2

Called after the query data is fetched - we'll use this to populate the source row with the CCK fields.

Overrides Migration::prepareRow

1 call to DrupalEntityMigration::prepareRow()
DrupalEntity6Migration::prepareRow in d6/entity.inc
Called after the query data is fetched - we'll use this to populate the source row with the CCK fields.
1 method overrides DrupalEntityMigration::prepareRow()
DrupalEntity6Migration::prepareRow in d6/entity.inc
Called after the query data is fetched - we'll use this to populate the source row with the CCK fields.

File

./entity.inc, line 107
Base class for migrating nodes into Drupal custom entities.

Class

DrupalEntityMigration
Base class for all non-standard entity migrations - handles commonalities across all supported source Drupal versions.

Code

public function prepareRow($row) {
  if (parent::prepareRow($row) === FALSE) {
    return FALSE;
  }
  $this->version
    ->getSourceValues($row, $row->nid);
}