function workflow_edit_form_submit in Workflow 5.2
Same name and namespace in other branches
- 5 workflow.module \workflow_edit_form_submit()
File
- ./
workflow.module, line 1129
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';
}