function SourcePluginBase::rowChanged

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::rowChanged()
  2. 8.9.x core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::rowChanged()
  3. 10 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::rowChanged()

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.

1 call to SourcePluginBase::rowChanged()
SourcePluginBase::next in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php

File

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

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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.