public function YamlFormSubmissionForm::noValidate in YAML Form 8
Form submission validation that does nothing but clear validation errors.
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/YamlFormSubmissionForm.php, line 723 
Class
- YamlFormSubmissionForm
- Provides a form to collect and edit submissions.
Namespace
Drupal\yamlformCode
public function noValidate(array &$form, FormStateInterface $form_state) {
  $form_state
    ->clearErrors();
  $this->entity
    ->validate();
}