function og_notifications_grouptype_user_page in Organic groups 5.7
Same name and namespace in other branches
- 5.8 og_notifications/og_notifications.module \og_notifications_grouptype_user_page()
- 5 og_notifications/og_notifications.module \og_notifications_grouptype_user_page()
- 5.3 og_notifications/og_notifications.module \og_notifications_grouptype_user_page()
- 6 modules/og_notifications/og_notifications.module \og_notifications_grouptype_user_page()
Menu callback: Since the default notifications UI lists group and grouptype as separate entries, redirect the grouptype management link to the group management page.
Parameters
Object $account: User object of the user whose grouptypes are to be managed.
1 string reference to 'og_notifications_grouptype_user_page'
- og_notifications_menu in og_notifications/
og_notifications.module - Implementation of hook_menu_()
File
- og_notifications/
og_notifications.module, line 380 - Subscriptions to content in groups.
Code
function og_notifications_grouptype_user_page($account) {
drupal_goto('user/' . $account->uid . '/notifications/group');
}