You are here

public function FormsStepsInterface::setStepPreviousState in Forms Steps 8

Set the previous state (hidden or displayed) of the step.

Parameters

int $step_id: Step id.

bool $state: State to set.

Return value

\Drupal\forms_steps\Entity\FormsSteps The forms steps.

1 method overrides FormsStepsInterface::setStepPreviousState()
FormsSteps::setStepPreviousState in src/Entity/FormsSteps.php
Set the previous state (hidden or displayed) of the step.

File

src/FormsStepsInterface.php, line 474

Class

FormsStepsInterface
Interface FormsStepsInterface.

Namespace

Drupal\forms_steps

Code

public function setStepPreviousState($step_id, $state);