You are here

function notifications_subscription_list_form in Notifications 7

Same name and namespace in other branches
  1. 6.4 notifications.pages.inc \notifications_subscription_list_form()

Form with subscription list

3 calls to notifications_subscription_list_form()
notifications_account_manage_subscriptions_form in notifications_account/notifications_account.pages.inc
Menu callback: user subscriptions management
notifications_account_subscription_list_form in notifications_account/notifications_account.pages.inc
List form for subscriptions of the same type for a user
notifications_admin_manage_subscriptions in ./notifications.admin.inc
Menu callback: subscriptions administration.
2 string references to 'notifications_subscription_list_form'
notifications_page_unsubscribe_user in ./notifications.pages.inc
Menu callback for unsubscribe page
notifications_ui_block_view in notifications_ui/notifications_ui.module
Implementation of hook_block_view

File

./notifications.module, line 1288
Notifications module

Code

function notifications_subscription_list_form($form, &$form_state, $type, $subscriptions) {
  $form = Notifications_Subscription_List::build_list($subscriptions)
    ->get_form($type, $form, $form_state);
  $form['#submit'][] = 'notifications_subscription_list_form_validate';
  $form['#validate'][] = 'notifications_subscription_list_form_submit';
  return $form;
}