protected function Node::initializeIterator in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/Plugin/migrate/source/d6/Node.php \Drupal\node\Plugin\migrate\source\d6\Node::initializeIterator()
Implementation of MigrateSource::performRewind().
We could simply execute the query and be functionally correct, but we will take advantage of the PDO-based API to optimize the query up-front.
Overrides SqlBase::initializeIterator
File
- core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ Node.php, line 84 - Contains \Drupal\node\Plugin\migrate\source\d6\Node.
Class
- Node
- Drupal 6 node source from database.
Namespace
Drupal\node\Plugin\migrate\source\d6Code
protected function initializeIterator() {
$this->filterDefaultFormat = $this
->variableGet('filter_default_format', '1');
return parent::initializeIterator();
}