You are here

function privatemsg_attachments_menu in Privatemsg 6.2

Implements hook_menu().

File

privatemsg_attachments/privatemsg_attachments.module, line 162
Allows users to add attachments to messages

Code

function privatemsg_attachments_menu() {
  $items['messages/upload/js'] = array(
    'page callback' => 'privatemsg_attachments_upload_js',
    'access arguments' => array(
      'upload private message attachments',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}