You are here

public function TestYamlFormHandler::submitForm in YAML Form 8

Submit form submission form.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

\Drupal\yamlform\YamlFormSubmissionInterface $yamlform_submission: A form submission.

Overrides YamlFormHandlerBase::submitForm

File

tests/modules/yamlform_test/src/Plugin/YamlFormHandler/TestYamlFormHandler.php, line 81

Class

TestYamlFormHandler
Form submission test handler.

Namespace

Drupal\yamlform_test\Plugin\YamlFormHandler

Code

public function submitForm(array &$form, FormStateInterface $form_state, YamlFormSubmissionInterface $yamlform_submission) {
  $this
    ->displayMessage(__FUNCTION__);
}