You are here

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

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

File

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

Class

Attribute
Yields each attribute name and value pair.

Namespace

Drupal\commerce_migrate_csv_example\Plugin\migrate\source

Code

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