You are here

public function WorkflowTransition::getOldState in Workflow 7.2

Functions, common to the WorkflowTransitions.

1 call to WorkflowTransition::getOldState()
WorkflowTransition::execute in includes/Entity/WorkflowTransition.php
Execute a transition (change state of a node).

File

includes/Entity/WorkflowTransition.php, line 597
Contains workflow\includes\Entity\WorkflowTransition. Contains workflow\includes\Entity\WorkflowTransitionController.

Class

WorkflowTransition
Implements an actual Transition.

Code

public function getOldState() {
  return workflow_state_load_single($this->old_sid);
}