function SourcePluginBase::rewind
Rewinds the iterator.
Implementation of \Iterator::rewind() - subclasses of SourcePluginBase should implement initializeIterator() to do any class-specific setup for iterating source records.
2 calls to SourcePluginBase::rewind()
- SqlBase::rewind in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - Rewinds the iterator.
- SqlBase::rewind in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - Rewinds the iterator.
1 method overrides SourcePluginBase::rewind()
- SqlBase::rewind in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - Rewinds the iterator.
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SourcePluginBase.php, line 379
Class
- SourcePluginBase
- The base class for source plugins.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
public function rewind() : void {
$this->getIterator()
->rewind();
$this->next();
}