You are here

function notifications_destination_edit_form in Notifications 6.4

Edit destination form

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

File

includes/destination.inc, line 194
Destination management

Code

function notifications_destination_edit_form($form_state, $destination, $options = array()) {
  global $user;
  $form = notifications_destination_subform($destination, $options);
  $form += notifications_destination_method_subform($user, $destination);
  $form['update'] = array(
    '#type' => 'submit',
    '#value' => t('Update'),
  );

  //$form['delete'] = array('#type' => 'submit', '#value' => t('Delete'));
  return $form;
}