public function EmptySource::initializeIterator in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Plugin/migrate/source/EmptySource.php \Drupal\migrate\Plugin\migrate\source\EmptySource::initializeIterator()
Initialize the iterator with the source data.
Return value
array An array of the data for this source.
Overrides SourcePluginBase::initializeIterator
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ source/ EmptySource.php, line 33 - Contains \Drupal\migrate\Plugin\migrate\source\EmptySource.
Class
- EmptySource
- Source returning an empty row.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
public function initializeIterator() {
return new \ArrayIterator(array(
array(
'id' => '',
),
));
}