You are here

public function Step::setSubmitLabel in Forms Steps 8

Set the submit label.

Parameters

string $label: The label to set.

Overrides StepInterface::setSubmitLabel

File

src/Step.php, line 313

Class

Step
A value object representing a step state.

Namespace

Drupal\forms_steps

Code

public function setSubmitLabel($label) {
  $this->submitLabel = $label;
}