8.5.x SourcePluginBase.php SourcePluginBase::getHighWaterStorage()
8.2.x SourcePluginBase.php SourcePluginBase::getHighWaterStorage()
8.3.x SourcePluginBase.php SourcePluginBase::getHighWaterStorage()
8.4.x SourcePluginBase.php SourcePluginBase::getHighWaterStorage()
8.6.x SourcePluginBase.php SourcePluginBase::getHighWaterStorage()

Get the high water storage object.

Return value

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

1 method overrides SourcePluginBase::getHighWaterStorage()
TestSqlBase::getHighWaterStorage in core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
Get the high water storage object.

File

core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php, line 509

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

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