function commerce_option_set_delete_confirm in Commerce Product Option 7.2
Form callback: confirmation form for deleting a option set. Called as page argument in the page we redirect to in commerce_option_set_form_submit_delete().
1 string reference to 'commerce_option_set_delete_confirm'
- commerce_option_menu in ./
commerce_option.module - Implements hook_menu().
File
- ./
commerce_option.admin.inc, line 279
Code
function commerce_option_set_delete_confirm($form, &$form_state, $option_set) {
$form_state['commerce_option_set'] = $option_set;
return confirm_form($form, t('Are you sure you want to delete the %name option set?', array(
'%name' => $option_set->name,
)), 'admin/commerce/config/option-sets', '<p>' . t('This action cannot be undone.') . '</p>', t('Delete'), t('Cancel'), 'confirm');
}