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

Breadcrumb

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

function SourcePluginBase::aboveHighWater

Check if the incoming data is newer than what we've previously imported.

Parameters

\Drupal\migrate\Row $row: The row we're importing.

Return value

bool TRUE if the high-water value in the row is greater than our current value.

1 call to SourcePluginBase::aboveHighWater()
SourcePluginBase::next in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php

File

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

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

protected function aboveHighWater(Row $row) {
    return $this->getHighWaterProperty() && $row->getSourceProperty($this->highWaterProperty['name']) > $this->originalHighWater;
}
RSS feed
Powered by Drupal