function uc_weightquote_admin_method_confirm_delete in Ubercart 5
Same name and namespace in other branches
- 6.2 shipping/uc_weightquote/uc_weightquote.admin.inc \uc_weightquote_admin_method_confirm_delete()
- 7.3 shipping/uc_weightquote/uc_weightquote.admin.inc \uc_weightquote_admin_method_confirm_delete()
1 string reference to 'uc_weightquote_admin_method_confirm_delete'
- uc_weightquote_menu in shipping/
uc_weightquote/ uc_weightquote.module - Implementation of hook_menu().
File
- shipping/
uc_weightquote/ uc_weightquote.module, line 307 - Shipping quote module that defines a shipping rate for each product based on weight.
Code
function uc_weightquote_admin_method_confirm_delete($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/weightquote', t('This will remove the shipping method, workflow-ng configuration, and the
product-specific overrides (if applicable). This action can not be undone.'), t('Delete'));
}