function mailchimp_unsubscribe_form in Mailchimp 5
Same name and namespace in other branches
- 5.2 mailchimp.module \mailchimp_unsubscribe_form()
- 6.2 mailchimp.module \mailchimp_unsubscribe_form()
- 6 mailchimp.module \mailchimp_unsubscribe_form()
- 7 mailchimp.module \mailchimp_unsubscribe_form()
1 string reference to 'mailchimp_unsubscribe_form'
- mailchimp_menu in ./
mailchimp.module - Implementation of hook_menu.
File
- ./
mailchimp.module, line 521
Code
function mailchimp_unsubscribe_form($form_values = array()) {
$form = array();
$form['intro'] = array(
'#type' => 'markup',
'#value' => t('Use this form to unsubscribe from all of our newsletters.'),
);
$form['EMAIL'] = array(
'#type' => 'textfield',
'#title' => t('Email Address'),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Unsubscribe'),
);
return $form;
}