You are here

public function WorkflowConfigTransition::getWorkflow in Workflow 7.2

1 call to WorkflowConfigTransition::getWorkflow()
WorkflowConfigTransition::save in includes/Entity/WorkflowConfigTransition.php
Permanently saves the entity.

File

includes/Entity/WorkflowConfigTransition.php, line 80
Contains workflow\includes\Entity\WorkflowConfigTransition. Contains workflow\includes\Entity\WorkflowConfigTransitionController.

Class

WorkflowConfigTransition
Implements a configurated Transition.

Code

public function getWorkflow() {
  if (isset($this->workflow)) {
    return $this->workflow;
  }
  return workflow_load_single($this->wid);
}