function mailchimp_uninstall in Mailchimp 2.x
Same name and namespace in other branches
- 8 mailchimp.install \mailchimp_uninstall()
- 6.2 mailchimp.install \mailchimp_uninstall()
- 7.5 mailchimp.install \mailchimp_uninstall()
- 7 mailchimp.install \mailchimp_uninstall()
- 7.2 mailchimp.install \mailchimp_uninstall()
- 7.3 mailchimp.install \mailchimp_uninstall()
- 7.4 mailchimp.install \mailchimp_uninstall()
Implements hook_uninstall().
File
- ./
mailchimp.install, line 40 - Install, update and uninstall functions for the Mailchimp Module.
Code
function mailchimp_uninstall() {
$queue = \Drupal::queue(MAILCHIMP_QUEUE_CRON);
$queue
->deleteQueue();
}