public function YamlFormSubmissionForm::rebuild in YAML Form 8
Form submission handler for the 'rebuild' action.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
2 calls to YamlFormSubmissionForm::rebuild()
- YamlFormSubmissionForm::autosave in src/
YamlFormSubmissionForm.php - Form submission handler to autosave when there are validation errors.
- YamlFormSubmissionForm::wizardSubmit in src/
YamlFormSubmissionForm.php - Form submission handler for the wizard submit action.
File
- src/
YamlFormSubmissionForm.php, line 736
Class
- YamlFormSubmissionForm
- Provides a form to collect and edit submissions.
Namespace
Drupal\yamlformCode
public function rebuild(array &$form, FormStateInterface $form_state) {
$form_state
->setRebuild();
}