function workflow_get_workflow_states_by_wid_state in Workflow 7
Same name and namespace in other branches
- 7.2 workflow.deprecated.inc \workflow_get_workflow_states_by_wid_state()
Given a wid and state, return a state. Wids / states are a unique id.
1 call to workflow_get_workflow_states_by_wid_state()
- workflow_update_workflows_full_object in ./
workflow.features.inc - For use by CRUD only, save everything from the CRUD formed object.
File
- ./
workflow.deprecated.inc, line 193 - Contains contains per-class functions, that are deprecated. Usage: The new code can be tested, by removing this file-include from workflow.module.
Code
function workflow_get_workflow_states_by_wid_state($wid, $state) {
$options = array(
'state' => $state,
'wid' => $wid,
);
return workflow_get_workflow_states($options);
}