You are here

function notifications_admin_manage_subscriptions in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.admin.inc \notifications_admin_manage_subscriptions()

Menu callback: subscriptions administration.

1 string reference to 'notifications_admin_manage_subscriptions'
notifications_menu in ./notifications.module
Implementation of hook_menu().

File

./notifications.admin.inc, line 37

Code

function notifications_admin_manage_subscriptions($form_state) {
  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;
}