You are here

function merci_hours_form_submit_delete in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Form API submit callback for the delete button.

See also

merci_hours_form().

1 string reference to 'merci_hours_form_submit_delete'
merci_hours_form in merci_hours/includes/entity.ui.inc
Generates the merci hours editing form.

File

merci_hours/includes/entity.ui.inc, line 91
Work calendar editing UI.

Code

function merci_hours_form_submit_delete($form, &$form_state) {
  $form_state['redirect'] = 'admin/merci/config/merci-hours/manage/' . $form_state['merci_hours']->name . '/delete';
}