You are here

protected function D7Webform::initializeIterator in Webform: Migrate 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/migrate/source/d7/D7Webform.php \Drupal\webform_migrate\Plugin\migrate\source\d7\D7Webform::initializeIterator()

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/d7/D7Webform.php, line 83

Class

D7Webform
Drupal 7 webform source from database.

Namespace

Drupal\webform_migrate\Plugin\migrate\source\d7

Code

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