You are here

protected function Node::initializeIterator in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/src/Plugin/migrate/source/d6/Node.php \Drupal\node\Plugin\migrate\source\d6\Node::initializeIterator()

Initializes the iterator with the source data.

Return value

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

Overrides SqlBase::initializeIterator

File

core/modules/node/src/Plugin/migrate/source/d6/Node.php, line 152

Class

Node
Drupal 6 node source from database.

Namespace

Drupal\node\Plugin\migrate\source\d6

Code

protected function initializeIterator() {
  $this->filterDefaultFormat = $this
    ->variableGet('filter_default_format', '1');
  return parent::initializeIterator();
}