You are here

public function FormsStepsInterface::setStepWeight in Forms Steps 8

Sets a step's weight value.

Parameters

string $step_id: The step ID to set the weight for.

int $weight: The step's weight.

Return value

\Drupal\forms_steps\StepInterface The forms_steps entity.

1 method overrides FormsStepsInterface::setStepWeight()
FormsSteps::setStepWeight in src/Entity/FormsSteps.php
Sets a step's weight value.

File

src/FormsStepsInterface.php, line 216

Class

FormsStepsInterface
Interface FormsStepsInterface.

Namespace

Drupal\forms_steps

Code

public function setStepWeight($step_id, $weight);