You are here

public function Step::setCancelLabel in Forms Steps 8

Set the cancel label.

Parameters

string $label: The label to set.

Overrides StepInterface::setCancelLabel

File

src/Step.php, line 320

Class

Step
A value object representing a step state.

Namespace

Drupal\forms_steps

Code

public function setCancelLabel($label) {
  $this->cancelLabel = $label;
}