function SourcePluginBase::aboveHighWater
Same name in other branches
- 9 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::aboveHighWater()
- 8.9.x core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::aboveHighwater()
- 11.x core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::aboveHighWater()
Check if the incoming data is newer than what we've previously imported.
Parameters
\Drupal\migrate\Row $row: The row we're importing.
Return value
bool TRUE if the high-water value in the row is greater than our current value.
1 call to SourcePluginBase::aboveHighWater()
- SourcePluginBase::next in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SourcePluginBase.php
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SourcePluginBase.php, line 455
Class
- SourcePluginBase
- The base class for source plugins.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
protected function aboveHighWater(Row $row) {
return $this->getHighWaterProperty() && $row->getSourceProperty($this->highWaterProperty['name']) > $this->originalHighWater;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.