You are here

function commerce_userpoints_currencies_delete in Commerce userpoints 7

Form builder callback for the delete confirmation form.

1 string reference to 'commerce_userpoints_currencies_delete'
commerce_userpoints_menu in ./commerce_userpoints.module
Implements hook_menu().

File

./commerce_userpoints.admin.inc, line 184
Administration page callbacks for the commerce_userpoints module.

Code

function commerce_userpoints_currencies_delete($form, &$form_state, $currency) {
  $form_state['commerce_userpoints_currency'] = $currency;
  return confirm_form($form, t('Do you want to delete the currency @name', array(
    '@name' => $currency['name'],
  )), 'admin/commerce/config/currency/userpoints');
}