public function FormsSteps::getStepRoute in Forms Steps 8
Returns the current step route.
Parameters
\Drupal\forms_steps\Step $step: Current Step.
Return value
null|string Returns the current route.
Overrides FormsStepsInterface::getStepRoute
File
- src/
Entity/ FormsSteps.php, line 305
Class
- FormsSteps
- FormsSteps configuration entity to persistently store configuration.
Namespace
Drupal\forms_steps\EntityCode
public function getStepRoute(Step $step) {
$route = 'forms_steps.' . $this->id . '.' . $step
->id();
return $route;
}