public function FormsStepsInterface::addProgressStep in Forms Steps 8
Adds a progress step to the forms_steps.
Parameters
string $progress_step_id: The progress step's ID.
string $label: The progress step's label.
array $routes: The progress step's active routes.
string $link: The progress step's link.
array $link_visibility: The progress step's link visibility.
Return value
\Drupal\forms_steps\FormsStepsInterface The forms_steps entity.
1 method overrides FormsStepsInterface::addProgressStep()
- FormsSteps::addProgressStep in src/
Entity/ FormsSteps.php - Adds a progress step to the forms_steps.
File
- src/
FormsStepsInterface.php, line 52
Class
- FormsStepsInterface
- Interface FormsStepsInterface.
Namespace
Drupal\forms_stepsCode
public function addProgressStep($progress_step_id, $label, array $routes, $link, array $link_visibility);