function mailchimp_signup_load in Mailchimp 7.3
Same name and namespace in other branches
- 8 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_load()
- 7.5 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_load()
- 7.4 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_load()
- 2.x modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_load()
Wrapper around mailchimp_signup_load_multiple to load a single signup entity.
3 calls to mailchimp_signup_load()
- mailchimp_signup_block_view in modules/
mailchimp_signup/ mailchimp_signup.module - Implements hook_block_view().
- mailchimp_signup_page in modules/
mailchimp_signup/ mailchimp_signup.module - Menu callback for Signup pages.
- mailchimp_signup_title in modules/
mailchimp_signup/ mailchimp_signup.module - callback function for translatable title
File
- modules/
mailchimp_signup/ mailchimp_signup.module, line 118 - Mailchimp Signup module. Allows creation of signup forms integrated with Mailchimp.
Code
function mailchimp_signup_load($signup_id) {
$signups = mailchimp_signup_load_multiple(array(
$signup_id,
));
if ($signups) {
return reset($signups);
}
else {
return FALSE;
}
}