You are here

protected function WebformComponents::query in Migrate Webform 7

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

File

./components.inc, line 52

Class

WebformComponents

Code

protected function query($fields) {
  $connection = migrate_webform_get_source_connection();
  $query = $connection
    ->select('webform_component', 'wc')
    ->fields('wc', $fields)
    ->orderBy('cid', 'ASC');
  return $query;
}