public function FormsSteps::hasStep in Forms Steps 8
Determines if the forms_steps has a step with the provided ID.
Parameters
string $step_id: The step's ID.
Return value
bool TRUE if the forms_steps has a step with the provided ID, FALSE if not.
Overrides FormsStepsInterface::hasStep
File
- src/
Entity/ FormsSteps.php, line 237
Class
- FormsSteps
- FormsSteps configuration entity to persistently store configuration.
Namespace
Drupal\forms_steps\EntityCode
public function hasStep($step_id) {
return isset($this->steps[$step_id]);
}