8.5.x SourcePluginBase.php SourcePluginBase::initializeIterator()
8.0.x SourcePluginBase.php SourcePluginBase::initializeIterator()
8.1.x SourcePluginBase.php SourcePluginBase::initializeIterator()
8.2.x SourcePluginBase.php SourcePluginBase::initializeIterator()
8.3.x SourcePluginBase.php SourcePluginBase::initializeIterator()
8.4.x SourcePluginBase.php SourcePluginBase::initializeIterator()
8.6.x SourcePluginBase.php SourcePluginBase::initializeIterator()

Initializes the iterator with the source data.

Return value

array An array of the data for this source.

2 calls to SourcePluginBase::initializeIterator()
SourcePluginBase::doCount in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
Gets the source count checking if the source is countable or using the iterator_count function.
SourcePluginBase::getIterator in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
Returns the iterator that will yield the row arrays to be processed.
5 methods override SourcePluginBase::initializeIterator()
EmbeddedDataSource::initializeIterator in core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php
Initializes the iterator with the source data.
EmptySource::initializeIterator in core/modules/migrate/src/Plugin/migrate/source/EmptySource.php
Initializes the iterator with the source data.
MigrateExternalTranslatedTestSource::initializeIterator in core/modules/migrate/tests/modules/migrate_external_translated_test/src/Plugin/migrate/source/MigrateExternalTranslatedTestSource.php
Initializes the iterator with the source data.
SqlBase::initializeIterator in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
Initializes the iterator with the source data.
StubSourcePlugin::initializeIterator in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Initializes the iterator with the source data.

File

core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php, line 222

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

protected abstract function initializeIterator();