function wsconfig_delete_form in Web Service Data 7
Form callback: confirmation form for deleting a wsconfig.
Parameters
$wsconfig: The wsconfig to delete
See also
1 string reference to 'wsconfig_delete_form'
- wsconfig_delete_form_wrapper in modules/
wsconfig/ wsconfig.admin.inc - Form callback wrapper: delete a wsconfig.
File
- modules/
wsconfig/ wsconfig.admin.inc, line 444 - Admin forms for wsconfig
Code
function wsconfig_delete_form($form, &$form_state, $wsconfig) {
$form_state['wsconfig'] = $wsconfig;
$form['#submit'][] = 'wsconfig_delete_form_submit';
$form = confirm_form($form, t('Are you sure you want to delete the Web Service Configuration %title?', array(
'%title' => $wsconfig->title,
)), 'admin/structure/wsconfig', '<p>' . t('This action cannot be undone.') . '</p>', t('Delete'), t('Cancel'), 'confirm');
return $form;
}