8.5.x SourcePluginBase.php SourcePluginBase::saveHighWater($high_water)
8.2.x SourcePluginBase.php SourcePluginBase::saveHighWater($high_water)
8.3.x SourcePluginBase.php SourcePluginBase::saveHighWater($high_water)
8.4.x SourcePluginBase.php SourcePluginBase::saveHighWater($high_water)
8.6.x SourcePluginBase.php SourcePluginBase::saveHighWater($high_water)

Save the new high water mark.

Parameters

int $high_water: The high water timestamp.

2 calls to SourcePluginBase::saveHighWater()
SourcePluginBase::next in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
The migration iterates over rows returned by the source plugin. This method determines the next row which will be processed and imported into the system.
SourcePluginBase::postRollback in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
Performs post-rollback tasks.

File

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

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

protected function saveHighWater($high_water) {
  $this
    ->getHighWaterStorage()
    ->set($this->migration
    ->id(), $high_water);
}