function notifications_manage_admin_subscriptions in Notifications 6.3
Same name and namespace in other branches
- 6 notifications.manage.inc \notifications_manage_admin_subscriptions()
- 6.2 notifications.manage.inc \notifications_manage_admin_subscriptions()
Menu callback: subscriptions administration.
1 string reference to 'notifications_manage_admin_subscriptions'
- notifications_menu in ./
notifications.module - Implementation of hook_menu().
File
- ./
notifications.manage.inc, line 11 - Common functions for bulk management of subscriptions
Code
function notifications_manage_admin_subscriptions($form_state) {
module_load_include('inc', 'notifications', 'notifications.admin');
if (isset($form_state['values']['operation']) && $form_state['values']['operation'] == 'delete') {
return notifications_multiple_delete_confirm($form_state, array_filter($form_state['values']['subscriptions']));
}
$form = notifications_subscriptions_filter_form(TRUE);
$form['#theme'] = 'notifications_subscriptions_filter_form';
$form['admin'] = notifications_manage_subscriptions_form();
return $form;
}