You are here

public function ProductVideo::initializeIterator in Commerce Migrate 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/csv_example/src/Plugin/migrate/source/ProductVideo.php \Drupal\commerce_migrate_csv_example\Plugin\migrate\source\ProductVideo::initializeIterator()
  2. 3.1.x modules/csv_example/src/Plugin/migrate/source/ProductVideo.php \Drupal\commerce_migrate_csv_example\Plugin\migrate\source\ProductVideo::initializeIterator()

File

modules/csv_example/src/Plugin/migrate/source/ProductVideo.php, line 22

Class

ProductVideo
Yields values for product video paragraph.

Namespace

Drupal\commerce_migrate_csv_example\Plugin\migrate\source

Code

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