function EmbeddedDataSource::initializeIterator
Same name in other branches
- 8.9.x core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php \Drupal\migrate\Plugin\migrate\source\EmbeddedDataSource::initializeIterator()
- 10 core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php \Drupal\migrate\Plugin\migrate\source\EmbeddedDataSource::initializeIterator()
- 11.x core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php \Drupal\migrate\Plugin\migrate\source\EmbeddedDataSource::initializeIterator()
Overrides SourcePluginBase::initializeIterator
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ source/ EmbeddedDataSource.php, line 95
Class
- EmbeddedDataSource
- Allows source data to be defined in the configuration of the source plugin.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
public function initializeIterator() {
return new \ArrayIterator($this->dataRows);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.