function wsconfig_delete_form_submit in Web Service Data 7
Submit callback for wsconfig_delete_form
1 string reference to 'wsconfig_delete_form_submit'
- wsconfig_delete_form in modules/
wsconfig/ wsconfig.admin.inc - Form callback: confirmation form for deleting a wsconfig.
File
- modules/
wsconfig/ wsconfig.admin.inc, line 464 - Admin forms for wsconfig
Code
function wsconfig_delete_form_submit($form, &$form_state) {
$wsconfig = $form_state['wsconfig'];
wsconfig_delete($wsconfig);
drupal_set_message(t('The Web Service Configuration %title has been deleted.', array(
'%title' => $wsconfig->title,
)));
watchdog('wsconfig', 'Deleted web service configuration %name.', array(
'%name' => $wsconfig->name,
));
$form_state['redirect'] = 'admin/structure/wsconfig';
}