You are here

public function YamlFormHandlerBase::preSave in YAML Form 8

Acts on a form submission before the presave hook is invoked.

Parameters

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

Overrides YamlFormHandlerInterface::preSave

1 method overrides YamlFormHandlerBase::preSave()
TestYamlFormHandler::preSave in tests/modules/yamlform_test/src/Plugin/YamlFormHandler/TestYamlFormHandler.php
Acts on a form submission before the presave hook is invoked.

File

src/YamlFormHandlerBase.php, line 336

Class

YamlFormHandlerBase
Provides a base class for a form handler.

Namespace

Drupal\yamlform

Code

public function preSave(YamlFormSubmissionInterface $yamlform_submission) {
}