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