function lingotek_get_change_workflow_form_callback in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lingotek.module \lingotek_get_change_workflow_form_callback()
- 7.5 lingotek.module \lingotek_get_change_workflow_form_callback()
- 7.6 lingotek.module \lingotek_get_change_workflow_form_callback()
2 string references to 'lingotek_get_change_workflow_form_callback'
File
- ./
lingotek.module, line 2223
Code
function lingotek_get_change_workflow_form_callback($form, $form_state) {
if (isset($form_state['values']['lingotek']['prefill_phases_checkbox']) && $form_state['values']['lingotek']['prefill_phases_checkbox']) {
return array(
$form['lingotek']['prefill_phase_select'],
$form['lingotek']['prefill_phases_checkbox'],
$form['lingotek']['workflow_id'],
);
}
return $form['lingotek']['workflow_id'];
}