You are here

protected function StubSourcePlugin::initializeIterator in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\StubSourcePlugin::initializeIterator()

Initializes the iterator with the source data.

Return value

\Iterator Returns an iteratable object of data for this source.

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 493
Contains \Drupal\Tests\migrate\Unit\MigrateSourceTest.

Class

StubSourcePlugin
Stubbed source plugin for testing base class implementations.

Namespace

Drupal\Tests\migrate\Unit

Code

protected function initializeIterator() {
  return [];
}