function uc_flatrate_admin_method_confirm_delete in Ubercart 7.3
Same name and namespace in other branches
- 5 shipping/uc_flatrate/uc_flatrate.module \uc_flatrate_admin_method_confirm_delete()
- 6.2 shipping/uc_flatrate/uc_flatrate.admin.inc \uc_flatrate_admin_method_confirm_delete()
Confirms deletion of a flat rate shipping method.
See also
uc_flatrate_admin_method_confirm_delete_submit()
1 string reference to 'uc_flatrate_admin_method_confirm_delete'
- uc_flatrate_menu in shipping/
uc_flatrate/ uc_flatrate.module - Implements hook_menu().
File
- shipping/
uc_flatrate/ uc_flatrate.admin.inc, line 112 - Flat rate shipping method administration menu items.
Code
function uc_flatrate_admin_method_confirm_delete($form, &$form_state, $mid) {
$form['mid'] = array(
'#type' => 'value',
'#value' => $mid,
);
return confirm_form($form, t('Do you want to delete this shipping method?'), 'admin/store/settings/quotes/methods', t('This will remove the shipping method and the product-specific overrides (if applicable). This action can not be undone.'), t('Delete'));
}