function comment_notify_unsubscribe in Comment Notify 7
Same name and namespace in other branches
- 5.2 comment_notify.module \comment_notify_unsubscribe()
- 5 comment_notify.module \comment_notify_unsubscribe()
- 6 comment_notify.module \comment_notify_unsubscribe()
Callback for an administrative form to unsubscribe users by e-mail address.
1 string reference to 'comment_notify_unsubscribe'
- comment_notify_menu in ./
comment_notify.module - Implements hook_menu().
File
- ./
comment_notify.module, line 570 - This module provides comment follow-up e-mail notification for anonymous and registered users.
Code
function comment_notify_unsubscribe($form, &$form_state) {
$form['comment_notify_unsubscribe'] = array();
$form['comment_notify_unsubscribe']['email_to_unsubscribe'] = array(
'#type' => 'textfield',
'#title' => t('Email to unsubscribe'),
);
$form['comment_notify_unsubscribe']['submit'] = array(
'#type' => 'submit',
'#value' => t('Unsubscribe this e-mail'),
);
return $form;
}