protected function VariableTranslation::initializeIterator in Drupal 10
Same name in this branch
- 10 core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::initializeIterator()
- 10 core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::initializeIterator()
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::initializeIterator()
- 9 core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::initializeIterator()
Initializes the iterator with the source data.
Return value
\Iterator Returns an iterable object of data for this source.
Overrides SqlBase::initializeIterator
1 call to VariableTranslation::initializeIterator()
- VariableTranslation::doCount in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d6/ VariableTranslation.php - Gets the source count using countQuery().
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d6/ VariableTranslation.php, line 58
Class
- VariableTranslation
- Drupal 6 i18n_variable source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\source\d6Code
protected function initializeIterator() {
return new \ArrayIterator($this
->values());
}