You are here

function casetracker_project_form_submit_delete in Case Tracker 7.2

Form API submit callback for the delete button.

@todo Remove hard-coded path

File

./casetracker_project.inc, line 289
This file concentrates all general functionality related to Projects in Case Tracker, leaving to the other files in /admin the stuff related to CRUD and structural configuration

Code

function casetracker_project_form_submit_delete(&$form, &$form_state) {
  $form_state['redirect'] = 'project/' . $form_state['casetracker_project']->pid . '/delete';
}