protected function StubSourcePlugin::initializeIterator in Drupal 9
Same name and namespace in other branches
- 8 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 iterable 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 496 - Contains \Drupal\Tests\migrate\Unit\MigrateSourceTest.
Class
- StubSourcePlugin
- Stubbed source plugin for testing base class implementations.
Namespace
Drupal\Tests\migrate\UnitCode
protected function initializeIterator() {
return [];
}