function uc_flatrate_admin_method_confirm_delete in Ubercart 6.2
Same name and namespace in other branches
- 5 shipping/uc_flatrate/uc_flatrate.module \uc_flatrate_admin_method_confirm_delete()
- 7.3 shipping/uc_flatrate/uc_flatrate.admin.inc \uc_flatrate_admin_method_confirm_delete()
Confirm 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 166 - Flat rate shipping method administration menu items.
Code
function uc_flatrate_admin_method_confirm_delete($form_state, $mid) {
$form = array();
$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/flatrate', t('This will remove the shipping method, Conditional Action predicate, and the
product-specific overrides (if applicable). This action can not be undone.'), t('Delete'));
}