You are here

protected function SourcePluginBase::saveHighWater in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::saveHighWater()

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 538

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