You are here

public function WebformHandlerBase::postSave in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::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.

Overrides WebformHandlerInterface::postSave

5 methods override WebformHandlerBase::postSave()
ActionWebformHandler::postSave in src/Plugin/WebformHandler/ActionWebformHandler.php
Acts on a saved webform submission before the insert or update hook is invoked.
EmailWebformHandler::postSave in src/Plugin/WebformHandler/EmailWebformHandler.php
Acts on a saved webform submission before the insert or update hook is invoked.
ExampleWebformHandler::postSave in modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php
Acts on a saved webform submission before the insert or update hook is invoked.
RemotePostWebformHandler::postSave in src/Plugin/WebformHandler/RemotePostWebformHandler.php
Acts on a saved webform submission before the insert or update hook is invoked.
TestWebformHandler::postSave in tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php
Acts on a saved webform submission before the insert or update hook is invoked.

File

src/Plugin/WebformHandlerBase.php, line 653

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

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