function notifications_manage_destination_form in Notifications 6.4
Manage destination form. Edit subscriptions for a destination
1 string reference to 'notifications_manage_destination_form'
- notifications_menu in ./
notifications.module - Implementation of hook_menu().
File
- ./
notifications.manage.inc, line 187 - Common functions for bulk management of subscriptions
Code
function notifications_manage_destination_form($form_state, $destination) {
module_load_include('inc', 'notifications', 'notifications.pages');
notifications_include('destination.inc');
if (isset($form_state['values']['operation']) && $form_state['values']['operation'] == 'delete') {
$form = notifications_multiple_delete_confirm($form_state, array_filter($form_state['values']['subscriptions']));
return $form;
}
//$form = notifications_destination_view_subform($destination);
$form['description'] = notifications_destination_subform($destination);
$form['admin'] = notifications_destination_manage_subform($destination);
$form['admin'] += notifications_manage_subscriptions_form_options($destination);
$form['extra'] = notifications_manage_destination_extra($destination);
return $form;
}