function mailchimp_signup_entity_delete in Mailchimp 7.4
Same name and namespace in other branches
- 7.5 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_entity_delete()
- 7.3 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_entity_delete()
Implements hook_entity_delete().
File
- modules/
mailchimp_signup/ mailchimp_signup.module, line 481 - Mailchimp Signup module. Allows creation of signup forms integrated with Mailchimp.
Code
function mailchimp_signup_entity_delete($entity, $type) {
if ($type == 'mailchimp_signup') {
if ($entity->mode & MAILCHIMP_SIGNUP_PAGE) {
menu_rebuild();
}
}
}