You are here

public function FormsStepsController::step in Forms Steps 8

Display the step form.

Parameters

int $forms_steps: Forms Steps id to display step from.

mixed $step: Step to display.

null|int $instance_id: Instance id of the forms steps ref to load.

Return value

mixed Form that match the input parameters.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

\Drupal\forms_steps\Exception\AccessDeniedException

\Drupal\forms_steps\Exception\FormsStepsNotFoundException

File

src/Controller/FormsStepsController.php, line 39

Class

FormsStepsController
Class FormsStepsController.

Namespace

Drupal\forms_steps\Controller

Code

public function step($forms_steps, $step, $instance_id = NULL) {
  return self::getForm($forms_steps, $step, $instance_id);
}