You are here

protected function WebformValidationRule::query in Migrate Webform 7

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

File

./validationrule.inc, line 37

Class

WebformValidationRule

Code

protected function query($fields) {
  $connection = migrate_webform_get_source_connection();
  $query = $connection
    ->select('webform_validation_rule', 'wvr')
    ->fields('wvr', $fields)
    ->orderBy('ruleid', 'ASC');
  return $query;
}