You are here

public function Step::setCancelStepMode in Forms Steps 8

Set the cancel step mode.

Parameters

mixed $mode: Mode.

Overrides StepInterface::setCancelStepMode

File

src/Step.php, line 348

Class

Step
A value object representing a step state.

Namespace

Drupal\forms_steps

Code

public function setCancelStepMode($mode) {
  $this->cancelStepMode = $mode;
}