public function WorkflowInterface::createTransition in Workflow 8
Creates a Transition for this workflow.
Parameters
string $from_sid:
string $to_sid:
array $values:
Return value
\Drupal\workflow\Entity\WorkflowConfigTransitionInterface
1 method overrides WorkflowInterface::createTransition()
- Workflow::createTransition in src/
Entity/ Workflow.php - Creates a Transition for this workflow.
File
- src/
Entity/ WorkflowInterface.php, line 137
Class
- WorkflowInterface
- Defines a common interface for Workflow*Transition* objects.
Namespace
Drupal\workflow\EntityCode
public function createTransition($from_sid, $to_sid, array $values = []);