function og_notifications_menu in Organic groups 6.2
Same name and namespace in other branches
- 5.8 og_notifications/og_notifications.module \og_notifications_menu()
- 5 og_notifications/og_notifications.module \og_notifications_menu()
- 5.3 og_notifications/og_notifications.module \og_notifications_menu()
- 5.7 og_notifications/og_notifications.module \og_notifications_menu()
- 6 modules/og_notifications/og_notifications.module \og_notifications_menu()
Implementation of hook_menu().
File
- modules/
og_notifications/ og_notifications.module, line 25 - Provide notifications and messaging support for organic groups.
Code
function og_notifications_menu() {
$items = array();
$items['user/%user/notifications/add/grouptype'] = array(
'title' => 'Group notifications',
'page callback' => 'og_notifications_user_page',
'page arguments' => array(
1,
),
'access callback' => 'notifications_content_access',
'access arguments' => array(
1,
'subscribe to content in groups',
),
'type' => MENU_LOCAL_TASK,
'weight' => 10,
'file' => 'og_notifications.pages.inc',
);
return $items;
}