You are here

public function WebformDialogFormTrait::noSubmit in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Form/WebformDialogFormTrait.php \Drupal\webform\Form\WebformDialogFormTrait::noSubmit()

Empty submit callback used to only have the submit button to use an #ajax submit callback.

Overrides WebformAjaxFormTrait::noSubmit

File

src/Form/WebformDialogFormTrait.php, line 139

Class

WebformDialogFormTrait
Trait for webform dialog support.

Namespace

Drupal\webform\Form

Code

public function noSubmit(array &$form, FormStateInterface $form_state) {

  // Do nothing.
}