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

Position the iterator to the following row.

1 call to SourcePluginBase::fetchNextRow()
SourcePluginBase::next in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
The migration iterates over rows returned by the source plugin. This method determines the next row which will be processed and imported into the system.
1 method overrides SourcePluginBase::fetchNextRow()
SqlBase::fetchNextRow in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
Position the iterator to the following row.

File

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

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

protected function fetchNextRow() {
  $this
    ->getIterator()
    ->next();
}