You are here

public function TestYamlFormHandler::postDelete in YAML Form 8

Acts on deleted a form submission before the delete hook is invoked.

Used after the entities are deleted but before invoking the delete hook.

Parameters

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

Overrides YamlFormHandlerBase::postDelete

File

tests/modules/yamlform_test/src/Plugin/YamlFormHandler/TestYamlFormHandler.php, line 125

Class

TestYamlFormHandler
Form submission test handler.

Namespace

Drupal\yamlform_test\Plugin\YamlFormHandler

Code

public function postDelete(YamlFormSubmissionInterface $yamlform_submission) {
  $this
    ->displayMessage(__FUNCTION__);
}