public function Step::setCancelRoute in Forms Steps 8
Set the cancel route.
Parameters
string $route: The cancel route to set.
Overrides StepInterface::setCancelRoute
File
- src/
Step.php, line 334
Class
- Step
- A value object representing a step state.
Namespace
Drupal\forms_stepsCode
public function setCancelRoute($route) {
$this->cancelRoute = $route;
}