Allow hooking into webform submission remote POST

Created on 26 April 2024, 12 months ago

It seems the webform submission data is being posted on every webform submission save in \Drupal\hubspot\Plugin\WebformHandler\HubspotWebformHandler::postSavewhich is problematic for workflows where the submission data is altered several times (e.g. through hook_webform_submission_insert()).

This can be solved by adding an alter hook which can then alter the remote post operation (create/update) or avoid the posting altogether under certain circumstances. Patch is coming.

Feature request
Status

Needs review

Version

3.0

Component

Code

Created by

🇩🇪Germany gbyte Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024