multistep_form_framework-8.x-1.x-dev/modules/multistep_form_framework_examples/multistep_form_framework_examples.multistep_wizard.yml
modules/multistep_form_framework_examples/multistep_form_framework_examples.multistep_wizard.yml
# Put same id into your form's getFormId method.
# @see \Drupal\multistep_form_framework_examples\Form\BookBuyMultistepForm::getFormId
multistep_form_framework_examples_book_buy_multistep:
# (optional) You can use wizard to provide more as a form_state information holder.
class: \Drupal\multistep_form_framework_examples\BookWizard
steps:
-
# You can use step id as identifier to skip, or to return to certain step.
# @see \Drupal\multistep_form_framework_examples\Form\BuyBookStep\Description::goToFirstStep
# @see \Drupal\multistep_form_framework\Wizard\Wizard::setCurrentStepById
id: greetings
class: \Drupal\multistep_form_framework_examples\Form\BuyBookStep\Greetings
-
id: book_attributes
class: \Drupal\multistep_form_framework_examples\Form\BuyBookStep\BookAttributes
-
id: description
class: \Drupal\multistep_form_framework_examples\Form\BuyBookStep\Description
-
id: graz
class: \Drupal\multistep_form_framework_examples\Form\BuyBookStep\Congratulation
# (option) Enables ajax for the form.
# @see multistep_form_framework/src/Step/BaseStep.php:94
ajax: TRUE
