public function WorkflowConfigTransition::setWorkflow in Workflow 7.2
Returns the Workflow object of this State.
Parameters
Workflow $workflow: An optional workflow object. Can be used as a setter.
Return value
File
- includes/
Entity/ WorkflowConfigTransition.php, line 75 - Contains workflow\includes\Entity\WorkflowConfigTransition. Contains workflow\includes\Entity\WorkflowConfigTransitionController.
Class
- WorkflowConfigTransition
- Implements a configurated Transition.
Code
public function setWorkflow($workflow) {
$this->wid = $workflow->wid;
$this->workflow = $workflow;
}