function workflow_transition_form_validate in Workflow 7.2
Submit callback function for the Workflow Form / DefaultWidget.
Validate target state and either save a transition immediately or schedule a transition to be executed later by cron.
1 string reference to 'workflow_transition_form_validate'
- workflow_transition_wrapper_form in ./
workflow.form.inc - Form builder. Allow workflow comment change from menu item/Views link.
File
- ./
workflow.form.inc, line 208 - Contains helper functions for WorkflowTransitionForm.
Code
function workflow_transition_form_validate($form, &$form_state) {
// Even if this function is empty, it must exist.
// Validate the attached fields.
// field_attach_form_validate('WorkflowTransition', $form_state['values'], $form, $form_state);
// $transition_form = new WorkflowTransitionForm($field, $instance, $entity_type, $entity);
// return $transition_form->submitForm($form, $form_state, $items);
}