function VariableTranslation::initializeIterator

Same name in this branch
  1. 10 core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::initializeIterator()
Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::initializeIterator()
  2. 9 core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::initializeIterator()
  3. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::initializeIterator()
  4. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::initializeIterator()
  5. 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::initializeIterator()
  6. 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::initializeIterator()

Overrides SqlBase::initializeIterator

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\d6

Code

protected function initializeIterator() {
    return new \ArrayIterator($this->values());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.