You are here

protected function Migration::getHighWaterStorage 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::getHighWaterStorage()

Get the high water storage object.

Return value

\Drupal\Core\KeyValueStore\KeyValueStoreInterface The storage object.

File

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

Class

Migration
Defines the Migration entity.

Namespace

Drupal\migrate\Entity

Code

protected function getHighWaterStorage() {
  if (!isset($this->highWaterStorage)) {
    $this->highWaterStorage = \Drupal::keyValue('migrate:high_water');
  }
  return $this->highWaterStorage;
}