function workflow_get_workflow_states_all in Workflow 7.2
Same name and namespace in other branches
- 7 workflow.deprecated.inc \workflow_get_workflow_states_all()
Get all active states in the system.
@deprecated: workflow_get_workflow_states_all() --> Workflow::getOptions()
Return value
array A keyed array $id => $name, of all active states.
File
- ./
workflow.deprecated.inc, line 148 - Contains contains per-class functions, that are deprecated.
Code
function workflow_get_workflow_states_all() {
// Get all states, only where active.
return workflow_get_workflow_state_names($wid = 0, $grouped = FALSE, $all = FALSE);
}