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