You are here

function notifications_destination_unsubscribe_form in Notifications 6.4

Unsubscribe form

1 string reference to 'notifications_destination_unsubscribe_form'
notifications_anonymous_destination_page in notifications_anonymous/notifications_anonymous.pages.inc
Page callback. Manage anonymous destinations.

File

includes/destination.inc, line 260
Destination management

Code

function notifications_destination_unsubscribe_form($form_state, $destination, $options = array()) {
  $form = notifications_destination_subform($destination, $options);
  return confirm_form($form, t('This will delete this address and all its subscriptions.'), isset($_GET['destination']) ? $_GET['destination'] : '', t('This action cannot be undone.'), t('Unsubscribe'), t('Cancel'));
}