You are here

public function FormsStepsInterface::setStepCancelStepMode in Forms Steps 8

Sets a step's cancel step mode.

Parameters

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

string $mode: The step's cancel step mode.

Return value

\Drupal\forms_steps\StepInterface The forms_steps entity.

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

File

src/FormsStepsInterface.php, line 333

Class

FormsStepsInterface
Interface FormsStepsInterface.

Namespace

Drupal\forms_steps

Code

public function setStepCancelStepMode($step_id, $mode);