You are here

protected function WebformSettings::query in Migrate Webform 7

1 call to WebformSettings::query()
WebformSettings::__construct in ./settings.inc
General initialization of a Migration object.

File

./settings.inc, line 49

Class

WebformSettings

Code

protected function query($fields) {
  $connection = migrate_webform_get_source_connection();
  $query = $connection
    ->select('webform', 'w')
    ->fields('w', $fields)
    ->orderBy('nid', 'ASC');
  return $query;
}