public function Workflow::getTransitionsBySid in Workflow 7.2
1 call to Workflow::getTransitionsBySid()
- Workflow::isValid in includes/
Entity/ Workflow.php - Validate the workflow. Generate a message if not correct.
File
- includes/
Entity/ Workflow.php, line 613 - Contains workflow\includes\Entity\Workflow. Contains workflow\includes\Entity\WorkflowController.
Class
Code
public function getTransitionsBySid($sid, $roles = '', $reset = FALSE) {
$conditions = array(
'sid' => $sid,
'roles' => $roles,
);
return $this
->getTransitions(FALSE, $conditions, $reset);
}