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/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::initializeIterator()
- 9 core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\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/ d7/ VariableTranslation.php - Gets the source count using countQuery().
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d7/ VariableTranslation.php, line 57
Class
- VariableTranslation
- Drupal 7 variable_store source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\source\d7Code
protected function initializeIterator() {
return new \ArrayIterator($this
->values());
}