Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SourcePluginBase.php

function SourcePluginBase::getHighWaterStorage

Get the high water storage object.

Return value

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

File

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

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;
}
RSS feed
Powered by Drupal