You are here

public function FormsStepsInterface::setStepCancelStep in Forms Steps 8

Sets a step's cancel step.

Parameters

string $step_id: The step ID to set the cancel step for.

\Drupal\forms_steps\Step $step: The step's cancel step.

Return value

\Drupal\forms_steps\StepInterface The forms_steps entity.

1 method overrides FormsStepsInterface::setStepCancelStep()
FormsSteps::setStepCancelStep in src/Entity/FormsSteps.php
Sets a step's cancel step.

File

src/FormsStepsInterface.php, line 320

Class

FormsStepsInterface
Interface FormsStepsInterface.

Namespace

Drupal\forms_steps

Code

public function setStepCancelStep($step_id, Step $step);