You are here

function uc_weightquote_admin_method_confirm_delete in Ubercart 6.2

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

Confirm 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 172
Weight quote shipping method administration menu items.

Code

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