You are here

public function WebformSubmissionForm::submit in Webform 6.x

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

Class

WebformSubmissionForm
Provides a webform to collect and edit submissions.

Namespace

Drupal\webform

Code

public function submit(array &$form, FormStateInterface $form_state) {
  $this
    ->next($form, $form_state, TRUE);
}