You are here

function workflow_get_workflow_states_by_wid in Workflow 7.2

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

Get all states in the system, with options to filter, only where a workflow exists.

@deprecated: workflow_get_workflow_states_by_wid --> Workflow->getOptions

1 call to workflow_get_workflow_states_by_wid()
workflow_state_ctools_settings in workflow_node/plugins/access/workflow_state.inc
Settings form for the 'workflow state' access plugin.

File

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

Code

function workflow_get_workflow_states_by_wid($wid, $options = array()) {
  $options['wid'] = $wid;
  return workflow_get_workflow_states($options);
}