function uc_wishlist_admin_delete_form in UC Wish List 6
Same name and namespace in other branches
- 7 uc_wishlist.admin.inc \uc_wishlist_admin_delete_form()
1 string reference to 'uc_wishlist_admin_delete_form'
- uc_wishlist_menu in ./
uc_wishlist.module - Implementation of hook_menu().
File
- ./
uc_wishlist.admin.inc, line 68 - Admin page callbacks and forms for wish lists.
Code
function uc_wishlist_admin_delete_form($form_state, $wishlist) {
$form = array();
$form['wishlist'] = array(
'#type' => 'value',
'#value' => $wishlist,
);
return confirm_form($form, t('Are you sure you want to delete wish list %title?', array(
'%title' => $wishlist->title,
)), 'admin/store/customers/wishlist', NULL, t('Delete'));
}