public function YamlFormHandlerInterface::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.
1 method overrides YamlFormHandlerInterface::preDelete()
- YamlFormHandlerBase::preDelete in src/
YamlFormHandlerBase.php - Acts on a form submission before they are deleted and before hooks are invoked.
File
- src/
YamlFormHandlerInterface.php, line 270
Class
- YamlFormHandlerInterface
- Defines the interface for form handlers.
Namespace
Drupal\yamlformCode
public function preDelete(YamlFormSubmissionInterface $yamlform_submission);