public function FormsStepsInterface::setStepSubmitLabel in Forms Steps 8
Sets a step's submit label.
Parameters
string $step_id: The step ID to set the submit label for.
string $label: The step's submit label.
Return value
\Drupal\forms_steps\StepInterface The forms_steps entity.
1 method overrides FormsStepsInterface::setStepSubmitLabel()
- FormsSteps::setStepSubmitLabel in src/
Entity/ FormsSteps.php - Sets a step's submit label.
File
- src/
FormsStepsInterface.php, line 281
Class
- FormsStepsInterface
- Interface FormsStepsInterface.
Namespace
Drupal\forms_stepsCode
public function setStepSubmitLabel($step_id, $label);