You are here

public function WorkflowScheduledTransition::delete in Workflow 7

Same name and namespace in other branches
  1. 7.2 includes/Entity/WorkflowScheduledTransition.php \WorkflowScheduledTransition::delete()

Given a node, delete transitions for it. @deprecated: workflow_delete_workflow_scheduled_transition_by_nid() --> WorkflowScheduledTransition::delete()

1 call to WorkflowScheduledTransition::delete()
WorkflowScheduledTransition::save in includes/Entity/WorkflowScheduledTransition.php

File

includes/Entity/WorkflowScheduledTransition.php, line 116
Contains workflow\includes\Entity\WorkflowScheduledTransition.

Class

WorkflowScheduledTransition

Code

public function delete() {
  return $this
    ->deleteByNid($this->entity_type, $this->entity_id);
}