public function WorkflowInterface::createTransition in Workflow 7.2
Creates a Transition for this workflow.
Parameters
string $from_sid:
string $to_sid:
array $values:
Return value
mixed|null|static
1 method overrides WorkflowInterface::createTransition()
- Workflow::createTransition in includes/
Entity/ Workflow.php - Creates a Transition for this workflow.
File
- includes/
Entity/ WorkflowInterface.php, line 145 - Contains Drupal\workflow\Entity\WorkflowInterface.
Class
- WorkflowInterface
- Defines a common interface for Workflow*Transition* objects.
Code
public function createTransition($from_sid, $to_sid, $values = array());