function mailchimp_unsubscribe_form in Mailchimp 6
Same name and namespace in other branches
- 5.2 mailchimp.module \mailchimp_unsubscribe_form()
- 5 mailchimp.module \mailchimp_unsubscribe_form()
- 6.2 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 520 - Mailchimp module.
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;
}