You are here

function workflow_get_workflow_states_by_wid_state in Workflow 7.2

Same name and namespace in other branches
  1. 7 workflow.deprecated.inc \workflow_get_workflow_states_by_wid_state()

Given a wid and state, return a state. Wids / states are a unique id.

File

./workflow.deprecated.inc, line 343
Contains contains per-class functions, that are deprecated.

Code

function workflow_get_workflow_states_by_wid_state($wid, $state) {
  $options = array(
    'state' => $state,
    'wid' => $wid,
  );
  return workflow_get_workflow_states($options);
}