function StubSourcePlugin::initializeIterator

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\StubSourcePlugin::initializeIterator()
  2. 10 core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\StubSourcePlugin::initializeIterator()
  3. 11.x core/modules/migrate/tests/src/Unit/StubSourcePlugin.php \Drupal\Tests\migrate\Unit\StubSourcePlugin::initializeIterator()

Overrides SourcePluginBase::initializeIterator

1 method overrides StubSourcePlugin::initializeIterator()
StubSourceGeneratorPlugin::initializeIterator in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Initializes the iterator with the source data.

File

core/modules/migrate/tests/src/Unit/MigrateSourceTest.php, line 495

Class

StubSourcePlugin
Stubbed source plugin for testing base class implementations.

Namespace

Drupal\Tests\migrate\Unit

Code

protected function initializeIterator() {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.