abstract protected function SourcePluginBase::initializeIterator in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::initializeIterator()
- 10 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 iteratable 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.
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SourcePluginBase.php, line 223
Class
- SourcePluginBase
- The base class for source plugins.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
protected abstract function initializeIterator();