You are here

function wsclient_rest_operation_form_submit in Web service client 7

Form submit callback for the operation form.

1 call to wsclient_rest_operation_form_submit()
wsclient_rest_form_submit in wsclient_rest/wsclient_rest.module
Form submit callback for the form.

File

wsclient_rest/wsclient_rest.module, line 70
Web service client endpoint for invoking a RESTful service.

Code

function wsclient_rest_operation_form_submit($form, &$form_state) {
  $form_state['operation']['type'] = $form_state['values']['type'];
  $form_state['operation']['url'] = $form_state['values']['url'];
}