You are here

protected function WebformValidationRuleComponents::query in Migrate Webform 7

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

File

./validationrulecomponents.inc, line 44

Class

WebformValidationRuleComponents

Code

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