function WorkflowState::delete in Workflow 7
Given data, delete from workflow_states.
File
- includes/
Entity/ WorkflowState.php, line 163 - Contains workflow\includes\Entity\WorkflowState.
Class
- WorkflowState
- @file Contains workflow\includes\Entity\WorkflowState.
Code
function delete() {
db_delete('workflow_states')
->condition('sid', $this->sid)
->execute();
}