function shoutbox_user_menu in Shoutbox 6.2
Same name and namespace in other branches
- 7.2 shoutbox_user/shoutbox_user.module \shoutbox_user_menu()
- 7 shoutbox_user/shoutbox_user.module \shoutbox_user_menu()
Implementation of hook_menu()
File
- shoutbox_user/
shoutbox_user.module, line 6
Code
function shoutbox_user_menu() {
return array(
'shoutbox/user/%user' => array(
'title' => 'Shout box',
'page callback' => 'shoutbox_user_page',
'page arguments' => array(
2,
),
'access callback' => 'shoutbox_user_access',
'description' => 'A dedicated shoutbox page for group shouts.',
'type' => MENU_CALLBACK,
),
'shoutbox/user/%user/js/view' => array(
'title' => 'Shout tag',
'page callback' => 'shoutbox_user_js_view',
'page arguments' => array(
2,
),
'access callback' => 'shoutbox_user_access',
'description' => 'Javascript callback for viewing a user\'s shouts',
'type' => MENU_CALLBACK,
),
);
}