You are here

public function FormsStepsInterface::setStepCancelLabel in Forms Steps 8

Sets a step's cancel label.

Parameters

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

string $label: The step's cancel label.

Return value

\Drupal\forms_steps\StepInterface The forms_steps entity.

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

File

src/FormsStepsInterface.php, line 294

Class

FormsStepsInterface
Interface FormsStepsInterface.

Namespace

Drupal\forms_steps

Code

public function setStepCancelLabel($step_id, $label);