public function WebformSubmissionForm::rebuild in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionForm.php \Drupal\webform\WebformSubmissionForm::rebuild()
Webform 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.
4 calls to WebformSubmissionForm::rebuild()
- WebformSubmissionForm::autosave in src/
WebformSubmissionForm.php - Webform submission handler to autosave when there are validation errors.
- WebformSubmissionForm::confirmForm in src/
WebformSubmissionForm.php - Webform confirm(ation) handler.
- WebformSubmissionForm::reset in src/
WebformSubmissionForm.php - Webform submission handler for the 'reset' action.
- WebformSubmissionForm::wizardSubmit in src/
WebformSubmissionForm.php - Webform submission handler for the wizard submit action.
File
- src/
WebformSubmissionForm.php, line 1842
Class
- WebformSubmissionForm
- Provides a webform to collect and edit submissions.
Namespace
Drupal\webformCode
public function rebuild(array &$form, FormStateInterface $form_state) {
$form_state
->setRebuild();
}