You are here

public function YamlFormHandlerBase::preDelete in YAML Form 8

Acts on a form submission before they are deleted and before hooks are invoked.

Used before the entities are deleted and before invoking the delete hook.

Parameters

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

Overrides YamlFormHandlerInterface::preDelete

1 method overrides YamlFormHandlerBase::preDelete()
TestYamlFormHandler::preDelete in tests/modules/yamlform_test/src/Plugin/YamlFormHandler/TestYamlFormHandler.php
Acts on a form submission before they are deleted and before hooks are invoked.

File

src/YamlFormHandlerBase.php, line 326

Class

YamlFormHandlerBase
Provides a base class for a form handler.

Namespace

Drupal\yamlform

Code

public function preDelete(YamlFormSubmissionInterface $yamlform_submission) {
}