function uc_csv_delete_report in Ubercart CSV 6.2
Same name and namespace in other branches
- 7.2 uc_csv.module \uc_csv_delete_report()
1 string reference to 'uc_csv_delete_report'
- uc_csv_menu in ./
uc_csv.module - implementation of hook_menu();
File
- ./
uc_csv.module, line 555
Code
function uc_csv_delete_report($form_state, $report) {
$form = array();
$form['rid'] = array(
'#type' => 'hidden',
'#value' => $report->rid,
);
$form['report_name'] = array(
'#type' => 'hidden',
'#value' => $report->report_name,
);
$form['#redirect'] = array(
'admin/store/export/index',
);
return confirm_form($form, t('Are you sure you wish to delete the %report export report?', array(
'%report' => $report->report_name,
)), 'admin/store/export/index', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}