8.5.x SourcePluginBase.php SourcePluginBase::rowChanged(Row $row)
8.0.x SourcePluginBase.php SourcePluginBase::rowChanged(Row $row)
8.1.x SourcePluginBase.php SourcePluginBase::rowChanged(Row $row)
8.2.x SourcePluginBase.php SourcePluginBase::rowChanged(Row $row)
8.3.x SourcePluginBase.php SourcePluginBase::rowChanged(Row $row)
8.4.x SourcePluginBase.php SourcePluginBase::rowChanged(Row $row)
8.6.x SourcePluginBase.php SourcePluginBase::rowChanged(Row $row)

Checks if the incoming row has changed since our last import.

Parameters

\Drupal\migrate\Row $row: The row we're importing.

Return value

bool TRUE if the row has changed otherwise FALSE.

File

core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php, line 421

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

protected function rowChanged(Row $row) {
  return $this->trackChanges && $row
    ->changed();
}