You are here

public function Migration::saveHighWater in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Entity/Migration.php \Drupal\migrate\Entity\Migration::saveHighWater()

Save the new high water mark.

Parameters

int $high_water: The high water timestamp.

Overrides MigrationInterface::saveHighWater

File

core/modules/migrate/src/Entity/Migration.php, line 367
Contains \Drupal\migrate\Entity\Migration.

Class

Migration
Defines the Migration entity.

Namespace

Drupal\migrate\Entity

Code

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