public function WorkflowTransition::getToSid in Workflow 8
Return value
string
Overrides WorkflowConfigTransitionInterface::getToSid
9 calls to WorkflowTransition::getToSid()
- WorkflowScheduledTransition::save in src/
Entity/ WorkflowScheduledTransition.php - Saves a scheduled transition. If the transition is executed, save in history.
- WorkflowTransition::execute in src/
Entity/ WorkflowTransition.php - Execute a transition (change state of an entity).
- WorkflowTransition::executeAndUpdateEntity in src/
Entity/ WorkflowTransition.php - Executes a transition (change state of an entity), from OUTSIDE the entity.
- WorkflowTransition::getToState in src/
Entity/ WorkflowTransition.php - WorkflowTransition::isAllowed in src/
Entity/ WorkflowTransition.php - Determines if the current transition between 2 states is allowed.
File
- src/
Entity/ WorkflowTransition.php, line 755
Class
- WorkflowTransition
- Implements an actual, executed, Transition.
Namespace
Drupal\workflow\EntityCode
public function getToSid() {
$sid = $this->{'to_sid'}->target_id;
return $sid;
}