You are here

function wsconfig_context_wsconfig_settings_form_submit in Web Service Data 7

File

modules/wsconfig/plugins/contexts/wsconfig.inc, line 91

Code

function wsconfig_context_wsconfig_settings_form_submit(&$form, &$form_state) {
  $form_state['conf']['wsconfig'] = $form_state['values']['wsconfig'];
  $form_state['conf']['replacements'] = $form_state['values']['replacements'];
  $form_state['conf']['options'] = $form_state['values']['options'];
  $form_state['conf']['arguments'] = $form_state['values']['arguments'];
  $form_state['conf']['wsprocessor'] = $form_state['values']['wsprocessor'];
  foreach ($form_state['values'] as $key => $val) {
    if (strncmp($key, 'wsconfig_method_', strlen('wsconfig_method_')) == 0) {
      $form_state['conf'][$key] = $val;
    }
  }
}