function workflow_delete_workflow_node_by_sid in Workflow 7.2
Same name and namespace in other branches
- 7 workflow.module \workflow_delete_workflow_node_by_sid()
Given sid, delete associated workflow data.
1 call to workflow_delete_workflow_node_by_sid()
- WorkflowState::deactivate in includes/
Entity/ WorkflowState.php - Deactivate a Workflow State, moving existing nodes to a given State.
File
- ./
workflow.module, line 938 - Support workflows made up of arbitrary states.
Code
function workflow_delete_workflow_node_by_sid($sid) {
return db_delete('workflow_node')
->condition('sid', $sid)
->execute();
}