You are here

function messaging_debug_menu in Messaging 6

Same name and namespace in other branches
  1. 5 messaging_debug/messaging_debug.module \messaging_debug_menu()
  2. 6.2 messaging_debug/messaging_debug.module \messaging_debug_menu()
  3. 6.3 messaging_debug/messaging_debug.module \messaging_debug_menu()

Implementation of hook_menu().

File

messaging_debug/messaging_debug.module, line 15
Simple messaging using html page. Messaging method plug-in

Code

function messaging_debug_menu() {
  $items['user/%user/messagelog'] = array(
    'type' => MENU_LOCAL_TASK,
    'title' => 'Message log',
    'page callback' => 'messaging_debug_user_page',
    'page arguments' => array(
      1,
    ),
    'access callback' => 'messaging_debug_access',
    'access arguments' => array(
      1,
    ),
  );
  return $items;
}