You are here

function hook_mailchimp_lists_mergevars_alter in Mailchimp 8

Same name and namespace in other branches
  1. 7.5 mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()
  2. 7.3 mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()
  3. 7.4 mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()
  4. 2.x mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()

Alter mergevars before they are sent to Mailchimp.

Parameters

array $mergevars: The current mergevars.

\Drupal\Core\Entity\EntityInterface $entity: The entity used to populate the mergevars.

string $entity_type: The entity type.

1 invocation of hook_mailchimp_lists_mergevars_alter()
_mailchimp_lists_mergevars_populate in modules/mailchimp_lists/mailchimp_lists.module
Helper function to complete a mailchimp-api-ready mergevars array.

File

./mailchimp.api.php, line 70
Mailchimp module hook definitions.

Code

function hook_mailchimp_lists_mergevars_alter(array &$mergevars, EntityInterface $entity, $entity_type) {
}