You are here

public function Migration::getHighWater 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::getHighWater()

The current value of the high water mark.

The high water mark defines a timestamp stating the time the import was last run. If the mark is set, only content with a higher timestamp will be imported.

Return value

int A Unix timestamp representing the high water mark.

Overrides MigrationInterface::getHighWater

File

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

Class

Migration
Defines the Migration entity.

Namespace

Drupal\migrate\Entity

Code

public function getHighWater() {
  return $this
    ->getHighWaterStorage()
    ->get($this
    ->id());
}