You are here

public function WebformHandlerInterface::postSave in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformHandlerInterface.php \Drupal\webform\Plugin\WebformHandlerInterface::postSave()

Acts on a saved webform submission before the insert or update hook is invoked.

Parameters

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

bool $update: TRUE if the entity has been updated, or FALSE if it has been inserted.

1 method overrides WebformHandlerInterface::postSave()
WebformHandlerBase::postSave in src/Plugin/WebformHandlerBase.php
Acts on a saved webform submission before the insert or update hook is invoked.

File

src/Plugin/WebformHandlerInterface.php, line 525

Class

WebformHandlerInterface
Defines the interface for webform handlers.

Namespace

Drupal\webform\Plugin

Code

public function postSave(WebformSubmissionInterface $webform_submission, $update = TRUE);