public function FormsStepsInterface::deleteStep in Forms Steps 8
Deletes a step from the forms_steps.
Parameters
string $step_id: The step ID to delete.
Return value
\Drupal\forms_steps\StepInterface The forms_steps entity.
Throws
\InvalidArgumentException Thrown if $step_id does not exist.
1 method overrides FormsStepsInterface::deleteStep()
- FormsSteps::deleteStep in src/
Entity/ FormsSteps.php - Deletes a step from the forms_steps.
File
- src/
FormsStepsInterface.php, line 386
Class
- FormsStepsInterface
- Interface FormsStepsInterface.
Namespace
Drupal\forms_stepsCode
public function deleteStep($step_id);