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