protected function VariableTranslation::initializeIterator in Drupal 8
Same name in this branch
- 8 core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::initializeIterator()
- 8 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
- 9 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/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::initializeIterator()
Initializes the iterator with the source data.
Return value
\Iterator Returns an iteratable object of data for this source.
Overrides SqlBase::initializeIterator
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d6/ VariableTranslation.php, line 39
Class
- VariableTranslation
- Drupal i18n_variable source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\source\d6Code
protected function initializeIterator() {
return new \ArrayIterator($this
->values());
}