You are here

public function WebformSubmissionForm::rebuild in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 1759

Class

WebformSubmissionForm
Provides a webform to collect and edit submissions.

Namespace

Drupal\webform

Code

public function rebuild(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRebuild();
}