MailChimp Helper

Component ID

2566215

Component name

MailChimp Helper

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module extends the MailChimp module by providing the following:

  • Extra rules actions and conditions
  • Extra API classes, created to make working with interest groups easier.
  • A mock for MailchimpLists, useful for automated tests.
  • A class for generating dummy Webhook data, useful for automated tests.

Some of these extra's are meant to be provided as a patch for the MailChimp module at some point.

Namespaced classes

This module uses namespaced classes (D8 code style). You therefore need one of the following modules:

  1. Class Loader
  2. psr0 autoloader
  3. X Autoload

I chose psr0 autoloader because it seems to be the most simplistic implementation.

Dependencies

The 7.x-3.x branch depends on MailChimp 7.x-4.x.

There is no further development on the 7.x-1.x and 7.x-2.x branches (which dependend on MailChimp 7.x-2.x and 7.x-3.x respectively).

The condition "Entity with mail address is being saved" was written with the patch from #2379435: Update fields (mergevars) with Rules in mind, but should work without it (mailchimphelper_user_presave() mentions the rule event "mailchimp_get_member_info" which was added by that patch).