You are here

public function FormsStepsInterface::setStepPreviousLabel in Forms Steps 8

Set the label of the previous button of the step.

Parameters

int $step_id: Step id.

mixed $label: Label to set.

Return value

\Drupal\forms_steps\Entity\FormsSteps The forms steps.

1 method overrides FormsStepsInterface::setStepPreviousLabel()
FormsSteps::setStepPreviousLabel in src/Entity/FormsSteps.php
Set the label of the previous button of the step.

File

src/FormsStepsInterface.php, line 461

Class

FormsStepsInterface
Interface FormsStepsInterface.

Namespace

Drupal\forms_steps

Code

public function setStepPreviousLabel($step_id, $label);