You are here

protected function WebformEmails::query in Migrate Webform 7

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

File

./emails.inc, line 45

Class

WebformEmails

Code

protected function query($fields) {
  $connection = migrate_webform_get_source_connection();
  $query = $connection
    ->select('webform_emails', 'we')
    ->fields('we', $fields)
    ->orderBy('eid', 'ASC');
  return $query;
}