You are here

function messaging_simple_menu in Messaging 6

Same name and namespace in other branches
  1. 5 messaging_simple/messaging_simple.module \messaging_simple_menu()
  2. 6.4 messaging_simple/messaging_simple.module \messaging_simple_menu()
  3. 6.2 messaging_simple/messaging_simple.module \messaging_simple_menu()
  4. 6.3 messaging_simple/messaging_simple.module \messaging_simple_menu()
  5. 7 messaging_simple/messaging_simple.module \messaging_simple_menu()

Implementation of hook_menu().

File

messaging_simple/messaging_simple.module, line 17
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;
}