You are here

public function Image::initializeIterator in Commerce Migrate 3.1.x

Same name in this branch
  1. 3.1.x modules/csv_example/src/Plugin/migrate/source/Image.php \Drupal\commerce_migrate_csv_example\Plugin\migrate\source\Image::initializeIterator()
  2. 3.1.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
  1. 8.2 modules/magento/src/Plugin/migrate/source/magento2/Image.php \Drupal\commerce_migrate_magento\Plugin\migrate\source\magento2\Image::initializeIterator()
  2. 3.0.x modules/magento/src/Plugin/migrate/source/magento2/Image.php \Drupal\commerce_migrate_magento\Plugin\migrate\source\magento2\Image::initializeIterator()

File

modules/magento/src/Plugin/migrate/source/magento2/Image.php, line 22

Class

Image
Yields each image and sku.

Namespace

Drupal\commerce_migrate_magento\Plugin\migrate\source\magento2

Code

public function initializeIterator() {
  $file = parent::initializeIterator();
  return $this
    ->getYield($file);
}