function workflow_get_workflow_states_by_wid in Workflow 7
Same name and namespace in other branches
- 7.2 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()
4 calls to workflow_get_workflow_states_by_wid()
- workflow_get_workflows_full_object in ./
workflow.features.inc - For use by CRUD only, gather everything into the CRUD formed object.
- workflow_notify_settings_form in workflow_notify/
workflow_notify.admin.inc - Settings form.
- workflow_notify_workflow in workflow_notify/
workflow_notify.module - Implements hook_workflow().
- 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 149 - 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($wid, $options = array()) {
$options['wid'] = $wid;
return workflow_get_workflow_states($options);
}