You are here

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

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

File

modules/csv_example/src/Plugin/migrate/source/ProductCta.php, line 23

Class

ProductCta
Yields values for each product CTA paragraph.

Namespace

Drupal\commerce_migrate_csv_example\Plugin\migrate\source

Code

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