You are here

function message_notify_ui_menu in Message UI 7

Implements hook_menu().

File

message_notify_ui/message_notify_ui.module, line 11
Main module file.

Code

function message_notify_ui_menu() {
  $items = array();
  $items['message/%message/notify'] = array(
    'title' => 'Notify',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'message_notify_ui_send_notification',
      1,
    ),
    'access arguments' => array(
      'send message notify',
    ),
    'type' => MENU_LOCAL_TASK,
    'context' => MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE,
    'weight' => 20,
  );
  return $items;
}