You are here

function workflow_edit_form_submit in Workflow 5

Same name and namespace in other branches
  1. 5.2 workflow.module \workflow_edit_form_submit()

File

./workflow.module, line 890

Code

function workflow_edit_form_submit($form_id, $form_values) {
  workflow_update($form_values['wid'], $form_values['wf_name'], array_filter($form_values['tab_roles']));
  workflow_update_transitions($form_values['transitions']);
  drupal_set_message(t('The workflow was updated.'));
  return 'admin/build/workflow';
}