public function FormsStepsInterface::getSteps in Forms Steps 8
Gets step objects for the provided step IDs.
Parameters
string[] $step_ids: A list of step IDs to get. If NULL then all steps will be returned.
Return value
\Drupal\forms_steps\StepInterface[] An array of forms_steps steps.
Throws
\InvalidArgumentException Thrown if $step_ids contains a step ID that does not exist.
1 method overrides FormsStepsInterface::getSteps()
- FormsSteps::getSteps in src/
Entity/ FormsSteps.php - Gets step objects for the provided step IDs.
File
- src/
FormsStepsInterface.php, line 111
Class
- FormsStepsInterface
- Interface FormsStepsInterface.
Namespace
Drupal\forms_stepsCode
public function getSteps(array $step_ids = NULL);