Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Adding this as a bug because the documentation is incorrect in the module for the API. Mailchimp_Lists::subscribe does not exist.
This also allows someone to call mailchimp_subcribe() and force processing of data in real-time. There could be cases where other modules are handling processing and need to be able to send data immediately independent of the processing limits set in the UI. The UI settings will safeguard from doing bad things, this additional code will allow a developer to consciously override the UI settings.
Patch coming forthwith.
Comments
Comment #2
Perignon CreditAttribution: Perignon commentedThis also adds full PHPDoc to mailchimp_subscribe()
Comment #3
Perignon CreditAttribution: Perignon commentedComment #4
Perignon CreditAttribution: Perignon commentedThe default for the override is FALSE, so no existing code should be effected.
Comment #5
Perignon CreditAttribution: Perignon commentedPatch needs reviewing.
Comment #6
Perignon CreditAttribution: Perignon commentedYou can bypass the cache by invoking mailchimp_subscribe_process. Documentation still needs updated but a new patch will have to be generated for that.