You are here

function uc_weightquote_admin_method_confirm_delete in Ubercart 7.3

Same name and namespace in other branches
  1. 5 shipping/uc_weightquote/uc_weightquote.module \uc_weightquote_admin_method_confirm_delete()
  2. 6.2 shipping/uc_weightquote/uc_weightquote.admin.inc \uc_weightquote_admin_method_confirm_delete()

Confirms deletion of a weight-based shipping method.

See also

uc_weightquote_admin_method_confirm_delete_submit()

1 string reference to 'uc_weightquote_admin_method_confirm_delete'
uc_weightquote_menu in shipping/uc_weightquote/uc_weightquote.module
Implements hook_menu().

File

shipping/uc_weightquote/uc_weightquote.admin.inc, line 113
Weight quote shipping method administration menu items.

Code

function uc_weightquote_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'));
}