You are here

public function FormsStepsInterface::getProgressSteps in Forms Steps 8

Gets progress step objects for the provided progress step IDs.

Parameters

string[] $progress_step_ids: A list of progress step IDs to get. If NULL then all progress steps will be returned.

Return value

\Drupal\forms_steps\ProgressStepInterface[] An array of forms_steps progress steps.

Throws

\InvalidArgumentException Thrown if $progress_step_ids contains a progress step ID that does not exist.

1 method overrides FormsStepsInterface::getProgressSteps()
FormsSteps::getProgressSteps in src/Entity/FormsSteps.php
Gets progress step objects for the provided progress step IDs.

File

src/FormsStepsInterface.php, line 127

Class

FormsStepsInterface
Interface FormsStepsInterface.

Namespace

Drupal\forms_steps

Code

public function getProgressSteps(array $progress_step_ids = NULL);