public function TestYamlFormHandler::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 YamlFormHandlerBase::preSave
File
- tests/
modules/ yamlform_test/ src/ Plugin/ YamlFormHandler/ TestYamlFormHandler.php, line 132
Class
- TestYamlFormHandler
- Form submission test handler.
Namespace
Drupal\yamlform_test\Plugin\YamlFormHandlerCode
public function preSave(YamlFormSubmissionInterface $yamlform_submission) {
$this
->displayMessage(__FUNCTION__);
}