function workflow_state_create in Workflow 5.2
Same name and namespace in other branches
- 5 workflow.module \workflow_state_create()
Legacy code for workflow_state_create().
File
- ./
workflow.module, line 1778
Code
function workflow_state_create($wid, $name) {
return workflow_state_save(array(
'wid' => $wid,
'state' => $name,
));
}