You are here

protected function SourcePluginBase::saveHighWater in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::saveHighWater()
  2. 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
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 575

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