function notifications_user_form in Notifications 6.4
Same name and namespace in other branches
- 5 notifications.admin.inc \notifications_user_form()
- 6 notifications.module \notifications_user_form()
- 6.2 notifications.module \notifications_user_form()
- 6.3 notifications.module \notifications_user_form()
Generic subscriptions content form
Builds a form for a user to manage its own subscriptions with some generic parameters
Currently it only manages simple condition fields
Parameters
$account : User account
$type: Subscription type
$subscriptions: Current subscriptions of this type. If null they'll be loaded
File
- ./
notifications.module, line 1911 - Notifications module
Code
function notifications_user_form($form_state, $account, $type, $subscriptions) {
module_load_include('pages.inc', 'notifications');
module_load_include('manage.inc', 'notifications');
// Needed for bulk operations
return notifications_subscription_list_form($form_state, $type, $account, $subscriptions);
}