You are here

abstract protected function SourcePluginBase::initializeIterator in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::initializeIterator()
  2. 9 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::initializeIterator()

Initializes the iterator with the source data.

Return value

\Iterator Returns an iterable object of 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.
6 methods override SourcePluginBase::initializeIterator()
ContentEntity::initializeIterator in core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php
Initializes the iterator with the source data.
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.

... See full list

File

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

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

protected abstract function initializeIterator();