You are here

public function StepInterface::setCancelStep in Forms Steps 8

Set the cancel step.

Parameters

\Drupal\forms_steps\Step $step: The step to go when the user click the cancel button.

1 method overrides StepInterface::setCancelStep()
Step::setCancelStep in src/Step.php
Set the cancel step.

File

src/StepInterface.php, line 128

Class

StepInterface
An interface for step value objects.

Namespace

Drupal\forms_steps

Code

public function setCancelStep(Step $step);