You are here

protected function DisqusEnabledNodeTypes::initializeIterator in Disqus 8

Initializes the iterator with the source data.

Return value

\Iterator Returns an iteratable object of data for this source.

Overrides SqlBase::initializeIterator

File

src/Plugin/migrate/source/DisqusEnabledNodeTypes.php, line 20

Class

DisqusEnabledNodeTypes
Disqus enabled content types migration source.

Namespace

Drupal\disqus\Plugin\migrate\source

Code

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