public function FormsStepsInterface::addStep in Forms Steps 8
Adds a step to the forms_steps.
Parameters
string $step_id: The step's ID.
string $label: The step's label.
string $entityType: The step's entity type.
string $entityBundle: The step's bundle.
string $formMode: The step's form_mode.
string $url: The step's URL.
Return value
\Drupal\forms_steps\FormsStepsInterface The forms_steps entity.
1 method overrides FormsStepsInterface::addStep()
- FormsSteps::addStep in src/
Entity/ FormsSteps.php - Adds a step to the forms_steps.
File
- src/
FormsStepsInterface.php, line 33
Class
- FormsStepsInterface
- Interface FormsStepsInterface.
Namespace
Drupal\forms_stepsCode
public function addStep($step_id, $label, $entityType, $entityBundle, $formMode, $url);