protected function CommentVariable::initializeIterator in Drupal 8
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/ comment/ src/ Plugin/ migrate/ source/ d6/ CommentVariable.php, line 26
Class
- CommentVariable
- Plugin annotation @MigrateSource( id = "d6_comment_variable", source_module = "comment" )
Namespace
Drupal\comment\Plugin\migrate\source\d6Code
protected function initializeIterator() {
return new \ArrayIterator($this
->getCommentVariables());
}