protected function SourcePluginBase::getHighWaterStorage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::getHighWaterStorage()
- 9 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::getHighWaterStorage()
Get the high water storage object.
Return value
\Drupal\Core\KeyValueStore\KeyValueStoreInterface The storage object.
2 calls to SourcePluginBase::getHighWaterStorage()
- SourcePluginBase::getHighWater in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SourcePluginBase.php - The current value of the high water mark.
- SourcePluginBase::saveHighWater in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SourcePluginBase.php - Save the new high water mark.
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SourcePluginBase.php, line 547
Class
- SourcePluginBase
- The base class for source plugins.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
protected function getHighWaterStorage() {
if (!isset($this->highWaterStorage)) {
$this->highWaterStorage = \Drupal::keyValue('migrate:high_water');
}
return $this->highWaterStorage;
}