function hook_webform_mailchimp_lists_mergevars_alter in Webform Mailchimp 8.5
Alter mergevars before they are sent to Mailchimp.
Parameters
array $mergevars: The current mergevars.
WebformSubmissionInterface $submission: The webform submission entity used to populate the mergevars.
WebformHandlerInterface $handler: The webform submission handler used to populate the mergevars.
1 invocation of hook_webform_mailchimp_lists_mergevars_alter()
- WebformMailChimpHandler::postSave in src/
Plugin/ WebformHandler/ WebformMailChimpHandler.php - Acts on a saved webform submission before the insert or update hook is invoked.
File
- ./
webform_mailchimp.api.php, line 28 - Webform mailchimp module hook definitions.
Code
function hook_webform_mailchimp_lists_mergevars_alter(&$mergevars, WebformSubmissionInterface $submission, WebformHandlerInterface $handler) {
}