You are here

function wsconfig_form_submit_delete in Web Service Data 7

Form API submit callback for the delete button.

@todo Remove hard-coded path

1 string reference to 'wsconfig_form_submit_delete'
wsconfig_edit_form in modules/wsconfig/wsconfig.admin.inc
Form callback: create or edit a wsconfig.

File

modules/wsconfig/wsconfig.admin.inc, line 312
Admin forms for wsconfig

Code

function wsconfig_form_submit_delete(&$form, &$form_state) {
  $form_state['redirect'] = 'admin/structure/wsconfig/manage/' . $form_state['wsconfig']->wsconfig_id . '/delete';
}