public function FormsStepsInterface::setStepCancelRoute in Forms Steps 8
Sets a step's cancel route.
Parameters
string $step_id: The step ID to set the route for.
string $route: The step's cancel route.
Return value
\Drupal\forms_steps\StepInterface The forms_steps entity.
1 method overrides FormsStepsInterface::setStepCancelRoute()
- FormsSteps::setStepCancelRoute in src/
Entity/ FormsSteps.php - Sets a step's cancel route.
File
- src/
FormsStepsInterface.php, line 307
Class
- FormsStepsInterface
- Interface FormsStepsInterface.
Namespace
Drupal\forms_stepsCode
public function setStepCancelRoute($step_id, $route);