You are here

protected function MigrateSource::dataChanged in Migrate 7.2

Determine whether this row has changed, and therefore whether it should be processed.

Parameters

$row:

Return value

bool

1 call to MigrateSource::dataChanged()
MigrateSource::next in includes/source.inc
Implementation of Iterator::next() - subclasses of MigrateSource should implement getNextRow() to retrieve the next valid source rocord to process.

File

includes/source.inc, line 459
Define base for migration sources.

Class

MigrateSource
Abstract base class for source handling.

Code

protected function dataChanged($row) {
  if ($row->migrate_map_original_hash != $row->migrate_map_hash) {
    $return = TRUE;
  }
  else {
    $return = FALSE;
  }
  return $return;
}