function shoutbox_group_menu in Shoutbox 6.2
Same name and namespace in other branches
- 7.2 shoutbox_group/shoutbox_group.module \shoutbox_group_menu()
- 7 shoutbox_group/shoutbox_group.module \shoutbox_group_menu()
Implementation of hook_menu().
File
- shoutbox_group/
shoutbox_group.module, line 13
Code
function shoutbox_group_menu() {
return array(
'shoutbox/group/%node' => array(
'title' => 'Shout box',
'page callback' => 'shoutbox_group_page',
'page arguments' => array(
2,
),
'access callback' => 'shoutbox_group_group_access',
'access arguments' => array(
'view',
2,
),
'description' => 'A dedicated shoutbox page for group shouts.',
'type' => MENU_CALLBACK,
),
'shoutbox/group/%node/js/view' => array(
'title' => 'Shout box',
'page callback' => 'shoutbox_group_js_view',
'page arguments' => array(
2,
),
'access callback' => 'shoutbox_group_group_access',
'access arguments' => array(
'view',
2,
),
'description' => 'Javascript callback for shout updates.',
'type' => MENU_CALLBACK,
),
);
}