public function Image::initializeIterator in Commerce Migrate 3.0.x
Same name in this branch
- 3.0.x modules/csv_example/src/Plugin/migrate/source/Image.php \Drupal\commerce_migrate_csv_example\Plugin\migrate\source\Image::initializeIterator()
- 3.0.x modules/magento/src/Plugin/migrate/source/magento2/Image.php \Drupal\commerce_migrate_magento\Plugin\migrate\source\magento2\Image::initializeIterator()
Same name and namespace in other branches
- 8.2 modules/csv_example/src/Plugin/migrate/source/Image.php \Drupal\commerce_migrate_csv_example\Plugin\migrate\source\Image::initializeIterator()
- 3.1.x modules/csv_example/src/Plugin/migrate/source/Image.php \Drupal\commerce_migrate_csv_example\Plugin\migrate\source\Image::initializeIterator()
File
- modules/
csv_example/ src/ Plugin/ migrate/ source/ Image.php, line 24
Class
- Image
- Yields each image and sku.
Namespace
Drupal\commerce_migrate_csv_example\Plugin\migrate\sourceCode
public function initializeIterator() {
$file = parent::initializeIterator();
return $this
->getYield($file);
}