public function TestWebformHandler::postCreate in Webform 6.x
Same name and namespace in other branches
- 8.5 tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php \Drupal\webform_test_handler\Plugin\WebformHandler\TestWebformHandler::postCreate()
Acts on a webform submission after it is created.
Parameters
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
Overrides WebformHandlerBase::postCreate
File
- tests/
modules/ webform_test_handler/ src/ Plugin/ WebformHandler/ TestWebformHandler.php, line 122
Class
- TestWebformHandler
- Webform submission test handler.
Namespace
Drupal\webform_test_handler\Plugin\WebformHandlerCode
public function postCreate(WebformSubmissionInterface $webform_submission) {
$this
->displayMessage(__FUNCTION__);
}