You are here

public function RemotePostYamlFormHandler::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

src/Plugin/YamlFormHandler/RemotePostYamlFormHandler.php, line 255

Class

RemotePostYamlFormHandler
Form submission remote post handler.

Namespace

Drupal\yamlform\Plugin\YamlFormHandler

Code

public function postDelete(YamlFormSubmissionInterface $yamlform_submission) {
  $this
    ->remotePost('delete', $yamlform_submission);
}