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