You are here

function workflow_delete_workflow_node_by_sid in Workflow 7

Same name and namespace in other branches
  1. 7.2 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 968
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();
}