function Variable::initializeIterator
Same name in other branches
- 9 core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php \Drupal\migrate_drupal\Plugin\migrate\source\Variable::initializeIterator()
- 10 core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php \Drupal\migrate_drupal\Plugin\migrate\source\Variable::initializeIterator()
- 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php \Drupal\migrate_drupal\Plugin\migrate\source\Variable::initializeIterator()
Overrides SqlBase::initializeIterator
2 methods override Variable::initializeIterator()
- ContactSettings::initializeIterator in core/
modules/ contact/ src/ Plugin/ migrate/ source/ ContactSettings.php - Initializes the iterator with the source data.
- SearchPage::initializeIterator in core/
modules/ search/ src/ Plugin/ migrate/ source/ d7/ SearchPage.php - Initializes the iterator with the source data.
File
-
core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ Variable.php, line 40
Class
- Variable
- Drupal variable source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
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.