function uc_product_feature_confirm_delete in Ubercart 7.3
Confirmation form to delete a product feature.
See also
uc_product_feature_confirm_delete_submit()
1 string reference to 'uc_product_feature_confirm_delete'
- uc_product_menu in uc_product/
uc_product.module - Implements hook_menu().
File
- uc_product/
uc_product.admin.inc, line 258 - Product administration menu items.
Code
function uc_product_feature_confirm_delete($form, &$form_state, $node, $fid, $feature) {
$description = t('Are you sure you wish to delete this %feature?', array(
'%feature' => uc_product_feature_data($fid, 'title'),
)) . '<div><b>' . t('Description') . ':</b><br />' . $feature['description'] . '</div><br />';
return confirm_form($form, check_plain($node->title), 'node/' . $node->nid . '/edit/features', $description, t('Delete'), t('Cancel'), 'pf_delete');
}