function messaging_simple_menu in Messaging 6.3
Same name and namespace in other branches
- 5 messaging_simple/messaging_simple.module \messaging_simple_menu()
- 6.4 messaging_simple/messaging_simple.module \messaging_simple_menu()
- 6 messaging_simple/messaging_simple.module \messaging_simple_menu()
- 6.2 messaging_simple/messaging_simple.module \messaging_simple_menu()
- 7 messaging_simple/messaging_simple.module \messaging_simple_menu()
Implementation of hook_menu().
File
- messaging_simple/
messaging_simple.module, line 23 - Simple messaging using html page. Messaging method plug-in
Code
function messaging_simple_menu() {
$items['user/%user/messages'] = array(
'type' => MENU_LOCAL_TASK,
'title' => 'Messages',
'page callback' => 'messaging_simple_user_page',
'page arguments' => array(
1,
),
'access callback' => 'messaging_simple_access',
'access arguments' => array(
1,
),
);
return $items;
}