You are here

function uc_flatrate_admin_method_confirm_delete in Ubercart 5

Same name and namespace in other branches
  1. 6.2 shipping/uc_flatrate/uc_flatrate.admin.inc \uc_flatrate_admin_method_confirm_delete()
  2. 7.3 shipping/uc_flatrate/uc_flatrate.admin.inc \uc_flatrate_admin_method_confirm_delete()
1 string reference to 'uc_flatrate_admin_method_confirm_delete'
uc_flatrate_menu in shipping/uc_flatrate/uc_flatrate.module
Implementation of hook_menu().

File

shipping/uc_flatrate/uc_flatrate.module, line 303
Shipping quote module that defines a flat shipping rate for each product.

Code

function uc_flatrate_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/flatrate', 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'));
}