public function WebformSubmissionForm::complete in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionForm.php \Drupal\webform\WebformSubmissionForm::complete()
Webform submission handler for the 'complete' 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.
1 call to WebformSubmissionForm::complete()
- WebformSubmissionForm::wizardSubmit in src/
WebformSubmissionForm.php - Webform submission handler for the wizard submit action.
File
- src/
WebformSubmissionForm.php, line 1795
Class
- WebformSubmissionForm
- Provides a webform to collect and edit submissions.
Namespace
Drupal\webformCode
public function complete(array &$form, FormStateInterface $form_state) {
$form_state
->set('in_draft', FALSE);
}