You are here

public function FormsSteps::hasProgressStep in Forms Steps 8

Determines if the forms_steps has a progress step with the provided ID.

Parameters

string $progress_step_id: The progress step's ID.

Return value

bool TRUE if the forms_steps has a progress step with the provided ID, FALSE if not.

Overrides FormsStepsInterface::hasProgressStep

File

src/Entity/FormsSteps.php, line 244

Class

FormsSteps
FormsSteps configuration entity to persistently store configuration.

Namespace

Drupal\forms_steps\Entity

Code

public function hasProgressStep($progress_step_id) {
  return isset($this->progress_steps[$progress_step_id]);
}