function SourcePluginBase::saveHighWater

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::saveHighWater()
  2. 8.9.x core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::saveHighWater()
  3. 11.x 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 576

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

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