You are here

function comment_upload_menu in Comment Upload 6

Same name and namespace in other branches
  1. 5 comment_upload.module \comment_upload_menu()

Implementation of hook_menu().

File

./comment_upload.module, line 22
Provides file attachment functionality for comments.

Code

function comment_upload_menu() {
  $items = array();
  $items['comment-upload/js'] = array(
    'type' => MENU_CALLBACK,
    'page callback' => 'comment_upload_js',
    'access arguments' => array(
      'upload files to comments',
    ),
  );
  return $items;
}