Skip navigation
Help

uc_order_edit_form_delete

7 uc_order.admin.inc uc_order_edit_form_delete($form, &$form_state)

Handles order delete button action.

See also

uc_order_edit_form()

1 string reference to 'uc_order_edit_form_delete'

File

ubercart/uc_order/uc_order.admin.inc, line 1136
Order administration menu items.

Code

function uc_order_edit_form_delete($form, &$form_state) {
  $form_state['redirect'] = 'admin/store/orders/' . $form_state['values']['order_id'] . '/delete';
}